summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Cochrane <mikec@mikenz.geek.nz>2008-07-10 01:04:59 -0400
committerMike Cochrane <mikec@mikenz.geek.nz>2008-07-10 01:04:59 -0400
commit8fe61b0b9266d6b3ca2786c84287d24a3ae1f4ef (patch)
tree6a983cea6dbc8135552013b2bf2bae2017e8f208
parentda19d126204c633929aaddf5f567b7af7191eba4 (diff)
Missing sprintf
darcs-hash:20080710050459-533db-251d9fec6b700628e3e56607f25e551381f2fad2.gz
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index fe171f306..db437924f 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -893,7 +893,7 @@ function common_save_replies($notice) {
if (!$id) {
$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
common_log(LOG_ERROR, 'DB error inserting reply: ' . $last_error->message);
- common_server_error(_('DB error inserting reply: %s'), $last_error->message);
+ common_server_error(sprintf(_('DB error inserting reply: %s'), $last_error->message));
return;
}
}