]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Correct sprintf() information
authorEvan Prodromou <evan@status.net>
Tue, 3 Jul 2012 21:33:27 +0000 (17:33 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 3 Jul 2012 21:33:27 +0000 (17:33 -0400)
plugins/Realtime/RealtimePlugin.php

index 5eb23fb62787e3477f6d13fa19eb2005efc104c5..0fa51ce8612372eac33e2c34fa3010932f8bc9b8 100644 (file)
@@ -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) {