Missing sprintf
darcs-hash:20080710050459-533db-251d9fec6b700628e3e56607f25e551381f2fad2.gz
This commit is contained in:
parent
da19d12620
commit
8fe61b0b92
@ -893,7 +893,7 @@ function common_save_replies($notice) {
|
|||||||
if (!$id) {
|
if (!$id) {
|
||||||
$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
|
$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
|
||||||
common_log(LOG_ERROR, 'DB error inserting reply: ' . $last_error->message);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user