--- includes/FeedsSource.inc 2009-10-20 21:01:35.000000000 +0000 +++ /var/www/localhost/feeds.20091124/includes/FeedsSource.inc 2009-11-23 15:27:22.000000000 +0000 @@ -139,7 +139,7 @@ class FeedsSource extends FeedsConfigura * Load configuration and unpack. */ public function load() { - if ($config = db_result(db_query('SELECT config FROM {feeds_source} WHERE id = "%s" AND feed_nid = %d', $this->id, $this->feed_nid))) { + if ($config = db_result(db_query('SELECT config FROM {feeds_source} WHERE id = \'%s\' AND feed_nid = %d', $this->id, $this->feed_nid))) { // While FeedsSource cannot be exported, we still use CTool's export.inc // export definitions. // @todo: patch CTools to move constants from export.inc to ctools.module. @@ -154,7 +154,7 @@ class FeedsSource extends FeedsConfigura * from database, does not delete configuration itself. */ public function delete() { - db_query('DELETE FROM {feeds_source} WHERE id = "%s" AND feed_nid = %d', $this->id, $this->feed_nid); + db_query('DELETE FROM {feeds_source} WHERE id = \'%s\' AND feed_nid = %d', $this->id, $this->feed_nid); } /**