* Fix dmdb count().

This commit is contained in:
朱金勇
2023-12-21 09:31:57 +08:00
parent e01465da15
commit 586fb4fbc1
+1 -1
View File
@@ -436,7 +436,7 @@ class baseDAO
try
{
$dbh = $this->slaveDBH ? $this->slaveDBH : $this->dbh;
$row = $dbh->rawQuery($sql)->fetch(PDO::FETCH_OBJ);
$row = $dbh->query($sql)->fetch(PDO::FETCH_OBJ);
}
catch (PDOException $e)
{