summaryrefslogtreecommitdiff
path: root/app/models/Entry.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-24 22:14:49 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-24 22:14:49 +0200
commita6982216253d1356621916bb2b7734320fedec0d (patch)
tree0d27b1011413e47e99605cfd686b5022f3bf17a0 /app/models/Entry.php
parent7b75289a294a0f4865e8d5b9564b6583f5d01aec (diff)
Fix issue #55 : affichage des tags associƩs aux articles
Diffstat (limited to 'app/models/Entry.php')
-rwxr-xr-xapp/models/Entry.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/Entry.php b/app/models/Entry.php
index 230b457bf..3daec5aa9 100755
--- a/app/models/Entry.php
+++ b/app/models/Entry.php
@@ -216,7 +216,7 @@ class Entry extends Model {
class EntryDAO extends Model_pdo {
public function addEntry ($valuesTmp) {
- $sql = 'INSERT INTO entry(id, guid, title, author, content, link, date, is_read, is_favorite, is_public, id_feed, lastUpdate) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)';
+ $sql = 'INSERT INTO entry(id, guid, title, author, content, link, date, is_read, is_favorite, is_public, id_feed, lastUpdate, tags) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)';
$stm = $this->bd->prepare ($sql);
$values = array (
@@ -232,6 +232,7 @@ class EntryDAO extends Model_pdo {
$valuesTmp['is_public'],
$valuesTmp['id_feed'],
$valuesTmp['lastUpdate'],
+ $valuesTmp['tags'],
);
if ($stm && $stm->execute ($values)) {