summaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-01-03 00:03:28 -0500
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-01-03 00:03:28 -0500
commitf0c2bb74ebbae1bd336d79a22c5ccf4080620bb4 (patch)
treeafc52950d50d5d4567437e42240b3998b51c4f6e /app/Controllers/configureController.php
parent7db271e95ebab52c31c78f51270de71af1d750d2 (diff)
parent1d3ff88ae6cbb072f0d2a76308a42f2baf6cb84d (diff)
Merge branch 'dev' into shortcuts
Diffstat (limited to 'app/Controllers/configureController.php')
-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,