From f345662b214bd1ad18c66fcce057dfb73335657e Mon Sep 17 00:00:00 2001
From: Oleg Pudeyev <oleg@bsdpower.com>
Date: Sun, 9 May 2010 16:58:53 -0400
Subject: [PATCH] [feature/system-cron] Use intval() to convert to int.

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 bfc8beb2de..48c502917e 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 = int($params['f']);
+			$forum_id = intval($params['f']);
 
 			$sql = 'SELECT forum_id, prune_next, enable_prune, prune_days, prune_viewed, forum_flags, prune_freq
 				FROM ' . FORUMS_TABLE . "