Replace call to vsprintf to sprintf because of arguments format

master
all 12 years ago
parent ffd3e8e35e
commit 44c9dc8118

@ -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>"; "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\"> print "<form method=\"GET\" action=\"backend.php\">

Loading…
Cancel
Save