mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 08:53:05 +02:00
[feature/system-cron] Use intval() to convert to int.
PHPBB3-9596
This commit is contained in:
@ -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 . "
|
||||
|
Reference in New Issue
Block a user