Correct sprintf() information

This commit is contained in:
Evan Prodromou 2012-07-03 17:33:27 -04:00
parent a65809c5bd
commit 3ffe2e3f03

View File

@ -253,7 +253,9 @@ class RealtimePlugin extends Plugin
list($action, $arg1, $arg2) = $path; list($action, $arg1, $arg2) = $path;
$channels = Realtime_channel::getAllChannels($action, $arg1, $arg2); $channels = Realtime_channel::getAllChannels($action, $arg1, $arg2);
$this->log(LOG_INFO, sprintf(_("%d candidate channels for notice %d"), $notice->id)); $this->log(LOG_INFO, sprintf(_("%d candidate channels for notice %d"),
count($channels),
$notice->id));
foreach ($channels as $channel) { foreach ($channels as $channel) {