diff options
| author | 2013-12-25 14:29:29 +0100 | |
|---|---|---|
| committer | 2013-12-25 14:29:29 +0100 | |
| commit | a4b890b67fb4d97c97a2b1b455c327ce4b905194 (patch) | |
| tree | 8f911c497a9d0b95a3c33d12672f7cb6ecbdc4de /app/Controllers/configureController.php | |
| parent | 7e6d2eb6f4236b4f04bfb7c976f135a1f33cc107 (diff) | |
Suite gestion plus fine de l'historique
Diffstat (limited to 'app/Controllers/configureController.php')
| -rwxr-xr-x | app/Controllers/configureController.php | 7 |
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; |
