forked from GNUsocial/gnu-social
fixed a %d that should be a %s in an error message
This commit is contained in:
parent
fa77814887
commit
7f9ab683b2
@ -319,7 +319,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, 'pgsql');
|
$res = $this->runDbScript($scr.'.sql', $conn, 'pgsql');
|
||||||
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user