// fix norm && added PDO::FETCH_ASSOC in method fetch() for PDO

This commit is contained in:
lLefevre
2011-12-07 17:30:32 +00:00
parent a80e3cf926
commit 3c2af0ca2c
4 changed files with 105 additions and 92 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class DbPDOCore extends Db
{
if (!$result)
$result = $this->result;
return $result->fetch();
return $result->fetch(PDO::FETCH_ASSOC);
}
/**