Better .ini info for RSSCloud subscription

This commit is contained in:
Zach Copley 2009-12-05 07:33:15 +00:00
parent 6b28fbe7b6
commit 4e07d9eeec

View File

@ -65,7 +65,7 @@ class RSSCloudSubscription extends Memcached_DataObject {
{ {
$sub = new RSSCloudSubscription(); $sub = new RSSCloudSubscription();
$sub->whereAdd("subscribed = $subscribed"); $sub->whereAdd("subscribed = $subscribed");
$sub->whereAdd("url = $url"); $sub->whereAdd("url = '$url'");
$sub->limit(1); $sub->limit(1);
if ($sub->find()) { if ($sub->find()) {
@ -77,4 +77,3 @@ class RSSCloudSubscription extends Memcached_DataObject {
} }
} }
?>