Missing sprintf

darcs-hash:20080710050459-533db-251d9fec6b700628e3e56607f25e551381f2fad2.gz
This commit is contained in:
Mike Cochrane 2008-07-10 01:04:59 -04:00
parent da19d12620
commit 8fe61b0b92

View File

@ -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;
}
}