// fix norm && added PDO::FETCH_ASSOC in method fetch() for PDO
This commit is contained in:
@@ -76,7 +76,7 @@ class DbPDOCore extends Db
|
||||
{
|
||||
if (!$result)
|
||||
$result = $this->result;
|
||||
return $result->fetch();
|
||||
return $result->fetch(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user