diff options
| author | 2012-10-25 15:52:54 +0200 | |
|---|---|---|
| committer | 2012-10-25 15:52:54 +0200 | |
| commit | 32ee8feccfb28aa3141469581cd04d4813fd6835 (patch) | |
| tree | 1c352659b803d1201ae0403583fe58abb44c8090 /lib/Request.php | |
| parent | d21c1bb13875189ab25f7bce4f05cc3fedaa4904 (diff) | |
affichage du nombre d'articles pour un flux donné
Diffstat (limited to 'lib/Request.php')
| -rw-r--r-- | lib/Request.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Request.php b/lib/Request.php index 4f06be1d8..fe168b05f 100644 --- a/lib/Request.php +++ b/lib/Request.php @@ -59,8 +59,8 @@ class Request { self::$params = $params; } - public static function _param ($key, $value = null) { - if (is_null ($value)) { + public static function _param ($key, $value = false) { + if ($value === false) { unset (self::$params[$key]); } else { self::$params[$key] = $value; |
