diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-05-10 16:02:23 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-05-10 16:02:23 -0400 |
commit | f8222c89afc5884ef191255267751e9b273ddf61 (patch) | |
tree | 1300b2b747f81010ff1e9fb5cf47cd8e3b56ea5f /lib/feed.php | |
parent | 14115e04e3f9dd6fe794810f9be403408fa81912 (diff) |
changed the version number to update db tables
Diffstat (limited to 'lib/feed.php')
-rw-r--r-- | lib/feed.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/feed.php b/lib/feed.php index 91380c6b1..cd38fb95a 100644 --- a/lib/feed.php +++ b/lib/feed.php @@ -54,11 +54,11 @@ class OC_News_Feed extends SimplePie_Core{ //FIXME: Detect when user adds a known feed $query = OCP\DB::prepare(" INSERT INTO *PREFIX*news_feeds - (url, title, userid, added, lastmodified) + (url, title, user_id, added, lastmodified) VALUES (?, ?, ?, $_ut, $_ut) "); - $title = $this->sp->get_title(); + $title = $this->get_title(); if(empty($title)) { $l = OC_L10N::get('news'); |