aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/feedController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-09-12 22:41:09 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-09-12 22:41:09 +0200
commit7627970862e03a9061ddced3423689e9dccd6f45 (patch)
tree2c18f481c218b3443ee172581fcaf3a5b2676b5c /app/controllers/feedController.php
parente15b7fd6ec5ae770ce232b2a0cea7b281254d96e (diff)
Corrected bug with the default "No Category"
The SQL optimisation patch had introduced a bug with "No Category", now solved
Diffstat (limited to 'app/controllers/feedController.php')
-rwxr-xr-xapp/controllers/feedController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/feedController.php b/app/controllers/feedController.php
index 18a46f322..d685857bd 100755
--- a/app/controllers/feedController.php
+++ b/app/controllers/feedController.php
@@ -17,6 +17,7 @@ class feedController extends ActionController {
if (Request::isPost ()) {
$url = Request::param ('url_rss');
$cat = Request::param ('category');
+ if (empty($cat)) $cat = '000000';
$user = Request::param ('username');
$pass = Request::param ('password');
$params = array ();