From 3ffe2e3f03a87293f607ad38cc1ba084dec23c14 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 3 Jul 2012 17:33:27 -0400 Subject: [PATCH] Correct sprintf() information --- plugins/Realtime/RealtimePlugin.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php index 5eb23fb627..0fa51ce861 100644 --- a/plugins/Realtime/RealtimePlugin.php +++ b/plugins/Realtime/RealtimePlugin.php @@ -253,7 +253,9 @@ class RealtimePlugin extends Plugin list($action, $arg1, $arg2) = $path; $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) {