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()) {
$db = new dba($dbhost, $dbuser, $dbpass, '', true);
if(! mysql_connect_errno()) {
if(! mysqli_connect_errno()) {
$r = q("CREATE DATABASE '%s'",
dbesc($dbdata)
);