aboutsummaryrefslogtreecommitdiff
path: root/engine/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'engine/handlers')
-rw-r--r--engine/handlers/cron_handler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/handlers/cron_handler.php b/engine/handlers/cron_handler.php
index 537b34f39..939beeaf4 100644
--- a/engine/handlers/cron_handler.php
+++ b/engine/handlers/cron_handler.php
@@ -18,7 +18,7 @@ global $CONFIG;
$period = get_input('period');
if (!$period) {
- throw new CronException(sprintf(elgg_echo('CronException:unknownperiod'), $period));
+ throw new CronException(elgg_echo('CronException:unknownperiod', array($period)));
}
// Get a list of parameters