summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-08-29 06:20:19 +0000
committerZach Copley <zach@controlyourself.ca>2009-08-29 06:20:19 +0000
commitc02e8a46878ba3ba1ea24f746db8ef0039d19612 (patch)
treeda0c565132d319ef9c1cd1844cedcad701df6529
parenta0a376bf0eca00cce974de12c2f275006c1281ee (diff)
Fix error in log msg format specifier
-rw-r--r--lib/twitter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/twitter.php b/lib/twitter.php
index b734d22d8..655525194 100644
--- a/lib/twitter.php
+++ b/lib/twitter.php
@@ -194,7 +194,7 @@ function broadcast_oauth($notice, $flink) {
$errmsg = sprintf('cURL error trying to send notice to Twitter ' .
'for user %1$s (user id: %2$s) - ' .
- 'code: %3$s message: $4$s.',
+ 'code: %3$s message: %4$s.',
$user->nickname, $user->id,
$e->getCode(), $e->getMessage());
common_log(LOG_WARNING, $errmsg);
@@ -252,7 +252,7 @@ function broadcast_basicauth($notice, $flink)
$errmsg = sprintf('cURL error trying to send notice to Twitter ' .
'for user %1$s (user id: %2$s) - ' .
- 'code: %3$s message: $4$s.',
+ 'code: %3$s message: %4$s.',
$user->nickname, $user->id,
$e->getCode(), $e->getMessage());
common_log(LOG_WARNING, $errmsg);