summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}