[Fusionforge-commits] r12968 - branches/Branch_5_1/src/common/include

Alain Peyrat aljeux at fusionforge.org
Thu Mar 31 18:47:44 CEST 2011


Author: aljeux
Date: 2011-03-31 18:47:44 +0200 (Thu, 31 Mar 2011)
New Revision: 12968

Modified:
   branches/Branch_5_1/src/common/include/squal_exit.php
Log:
Fix wrong var in exit_error (squal_exit)

Modified: branches/Branch_5_1/src/common/include/squal_exit.php
===================================================================
--- branches/Branch_5_1/src/common/include/squal_exit.php	2011-03-31 16:47:36 UTC (rev 12967)
+++ branches/Branch_5_1/src/common/include/squal_exit.php	2011-03-31 16:47:44 UTC (rev 12968)
@@ -30,7 +30,7 @@
  * @param		string	Error toptab
  */
 function exit_error($title,$toptab='') {
-	print 'ERROR - '.$text;
+	print 'ERROR - '.$title;
 	exit;
 }
 
@@ -72,7 +72,7 @@
  * @param   string  toptab needed for navigation
  */
 function exit_disabled($toptab='') {
-       exit_error('DISABLED FEATURE');
+	exit_error('DISABLED FEATURE');
 }
 
 ?>




More information about the Fusionforge-commits mailing list