diff options
Diffstat (limited to 'libs/plugins/function.counter.php')
| -rw-r--r-- | libs/plugins/function.counter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/plugins/function.counter.php b/libs/plugins/function.counter.php index bcc8f498..e3862102 100644 --- a/libs/plugins/function.counter.php +++ b/libs/plugins/function.counter.php @@ -63,7 +63,7 @@ function smarty_function_counter($params, $template) $counter[ 'direction' ] = $params[ 'direction' ]; } - if ($counter[ 'direction' ] == "down") { + if ($counter[ 'direction' ] === 'down') { $counter[ 'count' ] -= $counter[ 'skip' ]; } else { $counter[ 'count' ] += $counter[ 'skip' ]; |
