typo slipped through
This commit is contained in:
parent
b3f39aa2b0
commit
b381dfa6c6
|
@ -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)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue