%s for a string

This commit is contained in:
Evan Prodromou 2012-04-02 21:41:37 -04:00
parent 0774ef456d
commit 086b474069

View File

@ -322,7 +322,7 @@ abstract class Installer
$this->updateStatus(sprintf("Adding %s data to database...", $name)); $this->updateStatus(sprintf("Adding %s data to database...", $name));
$res = $this->runDbScript($scr.'.sql', $conn); $res = $this->runDbScript($scr.'.sql', $conn);
if ($res === false) { if ($res === false) {
$this->updateStatus(sprintf("Can't run %d script.", $name), true); $this->updateStatus(sprintf("Can't run %s script.", $name), true);
return false; return false;
} }
} }