Browse Source

Replace call to vsprintf to sprintf because of arguments format

all 11 years ago
parent
commit
44c9dc8118
1 changed files with 1 additions and 1 deletions
  1. 1 1
      db-updater.php

+ 1 - 1
db-updater.php

@@ -157,7 +157,7 @@ function confirmOP() {
 			}
 		}
 
-		print "<p>".vsprintf(ngettext("Finished. Performed <b>%d</b> update up to schema version <b>%d</b>.",
+		print "<p>".sprintf(ngettext("Finished. Performed <b>%d</b> update up to schema version <b>%d</b>.",
 			"Finished. Performed <b>%d</b> updates up to schema version <b>%d</b>.", $num_updates), $num_updates, $version)."</p>";
 
 		print "<form method=\"GET\" action=\"backend.php\">