diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-08-29 06:20:19 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-09-01 19:44:36 +0000 |
commit | 4c4fbd006d986bbc932938a37b7532d89a0e4166 (patch) | |
tree | 8762c2d7dfb72e0b54d1d7fe19dcfdbff1ddafc4 | |
parent | 0a922e0ba464975c2216f3df9163f08e786a5f3d (diff) |
Fix error in log msg format specifier
-rw-r--r-- | lib/twitter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/twitter.php b/lib/twitter.php index e049dc8df..455f7e7ef 100644 --- a/lib/twitter.php +++ b/lib/twitter.php @@ -196,7 +196,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); @@ -254,7 +254,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); |