[ticket/12597] Correcting bug in cron.php

PHPBB3-12597