[Fusionforge-commits] r10118 - trunk/src/common/widget

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Thu Jun 24 21:54:34 CEST 2010


Author: aljeux
Date: 2010-06-24 21:54:33 +0200 (Thu, 24 Jun 2010)
New Revision: 10118

Modified:
   trunk/src/common/widget/Widget_Rss.class.php
Log:
Fix SQL error in widget destroy(): tested?

Modified: trunk/src/common/widget/Widget_Rss.class.php
===================================================================
--- trunk/src/common/widget/Widget_Rss.class.php	2010-06-24 19:54:28 UTC (rev 10117)
+++ trunk/src/common/widget/Widget_Rss.class.php	2010-06-24 19:54:33 UTC (rev 10118)
@@ -174,7 +174,7 @@
 		return $done;
 	}
 	function destroy($id) {
-		$sql = 'DELETE FROM widget_rss WHERE id = $1 AND owner_id = $2AND owner_type = $3';
+		$sql = 'DELETE FROM widget_rss WHERE id = $1 AND owner_id = $2 AND owner_type = $3';
 		db_query_params($sql,array($id,$this->owner_id,$this->owner_type));
 	}
 	function isUnique() {




More information about the Fusionforge-commits mailing list