typo slipped through

This commit is contained in:
Friendika 2011-01-02 14:36:30 -08:00
parent b3f39aa2b0
commit b381dfa6c6

View File

@ -19,7 +19,7 @@ function install_post(&$a) {
if(mysqli_connect_errno()) { if(mysqli_connect_errno()) {
$db = new dba($dbhost, $dbuser, $dbpass, '', true); $db = new dba($dbhost, $dbuser, $dbpass, '', true);
if(! mysql_connect_errno()) { if(! mysqli_connect_errno()) {
$r = q("CREATE DATABASE '%s'", $r = q("CREATE DATABASE '%s'",
dbesc($dbdata) dbesc($dbdata)
); );