diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2010-08-18 22:51:49 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2011-02-12 22:05:51 -0500 |
commit | 3e707cf26645f66cdc46a17699e156119d20ef75 (patch) | |
tree | 49c1afc11f1847d44bdec5a9275df04451ff3191 /phpBB/includes | |
parent | f345662b214bd1ad18c66fcce057dfb73335657e (diff) | |
download | forums-3e707cf26645f66cdc46a17699e156119d20ef75.tar forums-3e707cf26645f66cdc46a17699e156119d20ef75.tar.gz forums-3e707cf26645f66cdc46a17699e156119d20ef75.tar.bz2 forums-3e707cf26645f66cdc46a17699e156119d20ef75.tar.xz forums-3e707cf26645f66cdc46a17699e156119d20ef75.zip |
[feature/system-cron] Replaced intval with (int) cast as requested.
PHPBB3-9596
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/cron/tasks/core/prune_forum.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/cron/tasks/core/prune_forum.php b/phpBB/includes/cron/tasks/core/prune_forum.php index 48c502917e..7728932d7e 100644 --- a/phpBB/includes/cron/tasks/core/prune_forum.php +++ b/phpBB/includes/cron/tasks/core/prune_forum.php @@ -121,7 +121,7 @@ class cron_task_core_prune_forum extends cron_task_base implements parametrized_ $this->forum_data = null; if (isset($params['f'])) { - $forum_id = intval($params['f']); + $forum_id = (int) $params['f']; $sql = 'SELECT forum_id, prune_next, enable_prune, prune_days, prune_viewed, forum_flags, prune_freq FROM ' . FORUMS_TABLE . " |