[Fusionforge-commits] r17759 - trunk/src/www/trove

Marc-Etienne VARGENAU vargenau at fusionforge.org
Wed Aug 21 17:53:04 CEST 2013


Author: vargenau
Date: 2013-08-21 17:53:04 +0200 (Wed, 21 Aug 2013)
New Revision: 17759

Modified:
   trunk/src/www/trove/TroveCategoryLabel.class.php
Log:
Add $

Modified: trunk/src/www/trove/TroveCategoryLabel.class.php
===================================================================
--- trunk/src/www/trove/TroveCategoryLabel.class.php	2013-08-21 15:41:56 UTC (rev 17758)
+++ trunk/src/www/trove/TroveCategoryLabel.class.php	2013-08-21 15:53:04 UTC (rev 17759)
@@ -108,7 +108,7 @@
 	function remove() {
 		db_begin();
 		$res = db_query_params("DELETE FROM trove_category_labels WHERE label_id=$1", array($this->labelId));
-		if(!res || db_affected_rows($res) != 1) {
+		if(!$res || db_affected_rows($res) != 1) {
 			// $this->setError();
 			db_rollback();
 			return false;




More information about the Fusionforge-commits mailing list