diff options
| author | 2012-10-25 00:31:10 +0200 | |
|---|---|---|
| committer | 2012-10-25 00:31:10 +0200 | |
| commit | 8d157046a425deeb48df0e2172eb5f0dec4d6114 (patch) | |
| tree | 89c22db1000d19f2ef554b167f3549e6bcec0cf2 /app/models/Feed.php | |
| parent | 6723babdd65d946cdc7e315d7f11fb3ca0e455d3 (diff) | |
correction bug ajout flux + màj catégorie
Diffstat (limited to 'app/models/Feed.php')
| -rw-r--r-- | app/models/Feed.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/models/Feed.php b/app/models/Feed.php index cf1b3e06a..e1e8f6449 100644 --- a/app/models/Feed.php +++ b/app/models/Feed.php @@ -130,10 +130,10 @@ class FeedDAO extends Model_pdo { $sql = 'UPDATE feed SET ' . $set . ' WHERE id=?'; $stm = $this->bd->prepare ($sql); - $values = array_merge ( - $valuesTmp, - array ($id) - ); + foreach ($valuesTmp as $v) { + $values[] = $v; + } + $values[] = $id; if ($stm && $stm->execute ($values)) { return true; |
