summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-02 22:21:49 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-02 22:21:49 +0100
commit4972d507f1d7c2a3c59d4884be891fba2ca8e5ee (patch)
treea407ba8367fe3c942a496f18938d45c0a15d99f2
parent5360ec9851787e98a491edb7bccf0beb2bc7dd4b (diff)
Bug changement catégories
Introduit récemment
-rwxr-xr-xapp/Controllers/configureController.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index 0e4801a2d..0a403fc2d 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -100,12 +100,14 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
$httpAuth = $user . ':' . $pass;
}
+ $cat = intval(Minz_Request::param('category', 0));
+
$values = array (
'name' => Minz_Request::param ('name', ''),
'description' => sanitizeHTML(Minz_Request::param('description', '', true)),
'website' => Minz_Request::param('website', ''),
'url' => Minz_Request::param('url', ''),
- 'category' => intval(Minz_Request::param ('category', 0)),
+ 'category' => $cat,
'pathEntries' => Minz_Request::param ('path_entries', ''),
'priority' => intval(Minz_Request::param ('priority', 0)),
'httpAuth' => $httpAuth,