diff options
-rw-r--r-- | appinfo/info.xml | 2 | ||||
-rw-r--r-- | lib/feed.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/appinfo/info.xml b/appinfo/info.xml index ec5e33934..f8e6f9ba4 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -3,7 +3,7 @@ <id>news</id> <name>News</name> <description>An RSS/Atom feed reader</description> - <version>0.1</version> + <version>0.2</version> <licence>AGPL</licence> <author>Alessandro Cosentino</author> <require>3</require> 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'); |