From 3e707cf26645f66cdc46a17699e156119d20ef75 Mon Sep 17 00:00:00 2001 From: Oleg Pudeyev Date: Wed, 18 Aug 2010 22:51:49 -0400 Subject: [PATCH] [feature/system-cron] Replaced intval with (int) cast as requested. PHPBB3-9596 --- phpBB/includes/cron/tasks/core/prune_forum.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . "