summaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-25 14:29:29 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-25 14:29:29 +0100
commita4b890b67fb4d97c97a2b1b455c327ce4b905194 (patch)
tree8f911c497a9d0b95a3c33d12672f7cb6ecbdc4de /app/Controllers/configureController.php
parent7e6d2eb6f4236b4f04bfb7c976f135a1f33cc107 (diff)
Suite gestion plus fine de l'historique
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;