* Compatible PHP5.3.

This commit is contained in:
Lufei
2023-02-21 09:15:53 +08:00
parent df38f27ead
commit 63a8a97c59
5 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class convertModel extends model
public function dbExists($dbName = '')
{
$statement = $this->dbh->prepare('SHOW DATABASES like ?');
$statement->execute([$dbName]);
$statement->execute(array($dbName));
return $statement->fetch();
}