aboutsummaryrefslogtreecommitdiff
path: root/app/models/Feed.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-13 10:32:54 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-13 10:32:54 +0200
commitce0a50585ef5625cf8b7e4834f35fdcfb68925ef (patch)
tree0fb1b251da026a8ba8718614106987c0b3ea8add /app/models/Feed.php
parentc12af70b1005635006f61a13ce6dd43bd5444557 (diff)
Fix issue #53 : priorité des flux à 10 par défaut en PHP
Diffstat (limited to 'app/models/Feed.php')
-rw-r--r--app/models/Feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/Feed.php b/app/models/Feed.php
index 50632f5a7..070f044a9 100644
--- a/app/models/Feed.php
+++ b/app/models/Feed.php
@@ -205,7 +205,7 @@ class Feed extends Model {
class FeedDAO extends Model_pdo {
public function addFeed ($valuesTmp) {
- $sql = 'INSERT INTO feed (id, url, category, name, website, description, lastUpdate) VALUES(?, ?, ?, ?, ?, ?, ?)';
+ $sql = 'INSERT INTO feed (id, url, category, name, website, description, lastUpdate, priority, error) VALUES(?, ?, ?, ?, ?, ?, ?, 10, 0)';
$stm = $this->bd->prepare ($sql);
$values = array (