aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/cron.php')
-rw-r--r--engine/lib/cron.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/cron.php b/engine/lib/cron.php
index 811a4cdda..d51a34bf7 100644
--- a/engine/lib/cron.php
+++ b/engine/lib/cron.php
@@ -44,7 +44,7 @@ function cron_page_handler($page) {
set_input('period', $page[0]);
break;
default :
- throw new CronException(sprintf(elgg_echo('CronException:unknownperiod'), $page[0]));
+ throw new CronException(elgg_echo('CronException:unknownperiod', array($page[0])));
}
// Include cron handler