]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/RSSCloud/RSSCloudSubscription.php
tweak RSSCloud plugin to use new schema layout (but still the old event); the timesta...
[quix0rs-gnu-social.git] / plugins / RSSCloud / RSSCloudSubscription.php
index 881e071658f612cd06f62f3e52308715de01d24f..595af884468ac4aad7d441fe6dff8fd22dc25a96 100644 (file)
@@ -65,7 +65,7 @@ class RSSCloudSubscription extends Memcached_DataObject {
     {
         $sub = new RSSCloudSubscription();
         $sub->whereAdd("subscribed = $subscribed");
-        $sub->whereAdd("url = $url");
+        $sub->whereAdd("url = '$url'");
         $sub->limit(1);
 
         if ($sub->find()) {
@@ -75,6 +75,4 @@ class RSSCloudSubscription extends Memcached_DataObject {
 
         return false;
     }
-
 }
-?>
\ No newline at end of file