diff options
| author | 2014-01-03 00:03:28 -0500 | |
|---|---|---|
| committer | 2014-01-03 00:03:28 -0500 | |
| commit | f0c2bb74ebbae1bd336d79a22c5ccf4080620bb4 (patch) | |
| tree | afc52950d50d5d4567437e42240b3998b51c4f6e /app/Controllers/configureController.php | |
| parent | 7db271e95ebab52c31c78f51270de71af1d750d2 (diff) | |
| parent | 1d3ff88ae6cbb072f0d2a76308a42f2baf6cb84d (diff) | |
Merge branch 'dev' into shortcuts
Diffstat (limited to 'app/Controllers/configureController.php')
| -rwxr-xr-x | app/Controllers/configureController.php | 4 |
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, |
