From 8fe61b0b9266d6b3ca2786c84287d24a3ae1f4ef Mon Sep 17 00:00:00 2001 From: Mike Cochrane Date: Thu, 10 Jul 2008 01:04:59 -0400 Subject: [PATCH] Missing sprintf darcs-hash:20080710050459-533db-251d9fec6b700628e3e56607f25e551381f2fad2.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.39.5