summaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/configureController.php')
-rwxr-xr-xapp/Controllers/configureController.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index 8d3e02d3e..b83501f0b 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -97,18 +97,13 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
$description = sanitizeHTML(Minz_Request::param('description', '', true));
$website = Minz_Request::param('website', '');
$url = Minz_Request::param('url', '');
- $hist = Minz_Request::param ('keep_history', 'no');
+ $keep_history = intval(Minz_Request::param ('keep_history', 0));
$cat = Minz_Request::param ('category', 0);
$path = Minz_Request::param ('path_entries', '');
$priority = Minz_Request::param ('priority', 0);
$user = Minz_Request::param ('http_user', '');
$pass = Minz_Request::param ('http_pass', '');
- $keep_history = false;
- if ($hist == 'yes') {
- $keep_history = true;
- }
-
$httpAuth = '';
if ($user != '' || $pass != '') {
$httpAuth = $user . ':' . $pass;