From: Mike Cochrane Date: Thu, 10 Jul 2008 05:04:59 +0000 (-0400) Subject: Missing sprintf X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8fe61b0b9266d6b3ca2786c84287d24a3ae1f4ef;p=quix0rs-gnu-social.git Missing sprintf darcs-hash:20080710050459-533db-251d9fec6b700628e3e56607f25e551381f2fad2.gz --- diff --git a/lib/util.php b/lib/util.php index fe171f306d..db437924fc 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; } }