[evolvis-commits] r18500: exit_error() cannot be used if we already displayed anything at all

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Jul 17 17:33:08 CEST 2012


Author: mirabilos
Date: 2012-07-17 17:33:08 +0200 (Tue, 17 Jul 2012)
New Revision: 18500

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/admin/search.php
Log:
exit_error() cannot be used if we already displayed anything at all

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/admin/search.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/admin/search.php	2012-07-17 15:32:59 UTC (rev 18499)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/admin/search.php	2012-07-17 15:33:08 UTC (rev 18500)
@@ -81,7 +81,8 @@
 
 	if (db_numrows($result) < 1) {
 
-		exit_error(db_error(),'admin');
+		site_admin_footer(array());
+		exit(0);
 
 	} else {
 



More information about the evolvis-commits mailing list