aboutsummaryrefslogtreecommitdiff
path: root/app/Models/FeedDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-14 11:06:31 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-14 11:06:31 +0200
commite315192c4b3df89dddb1ac37c6c7a01531d7952f (patch)
tree56dc5152e01e967c0f4ea29d5130c67f8a9ae2e7 /app/Models/FeedDAO.php
parent967dff535defd2c95bf1be9b48e0b18e3fe6025d (diff)
Bug static
Diffstat (limited to 'app/Models/FeedDAO.php')
-rw-r--r--app/Models/FeedDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/FeedDAO.php b/app/Models/FeedDAO.php
index f29dac9c0..ce65ed8b1 100644
--- a/app/Models/FeedDAO.php
+++ b/app/Models/FeedDAO.php
@@ -16,7 +16,7 @@ class FreshRSS_FeedDAO extends Minz_ModelPdo implements FreshRSS_Searchable {
);
if ($stm && $stm->execute($values)) {
- return $this->bd->lastInsertId('"' . parent::prefix . 'feed_id_seq"');
+ return $this->bd->lastInsertId('"' . $this->prefix . 'feed_id_seq"');
} else {
$info = $stm == null ? array(2 => 'syntax error') : $stm->errorInfo();
Minz_Log::error('SQL error addFeed: ' . $info[2]);