]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Missing sprintf
authorMike Cochrane <mikec@mikenz.geek.nz>
Thu, 10 Jul 2008 05:04:59 +0000 (01:04 -0400)
committerMike Cochrane <mikec@mikenz.geek.nz>
Thu, 10 Jul 2008 05:04:59 +0000 (01:04 -0400)
darcs-hash:20080710050459-533db-251d9fec6b700628e3e56607f25e551381f2fad2.gz

lib/util.php

index fe171f306df107010821eba4aa8710c95e9da7f6..db437924fcca9d39d54b1ef76987b20d9b619cc9 100644 (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;
                }
        }