Fix for Postgresql PDO::FETCH_ASSOC
This commit is contained in:
@@ -829,7 +829,9 @@ class Query {
|
|||||||
}
|
}
|
||||||
else if ($this->grammar instanceof Postgres)
|
else if ($this->grammar instanceof Postgres)
|
||||||
{
|
{
|
||||||
return (int) $result[0]->$column;
|
$row = (array) $result[0];
|
||||||
|
|
||||||
|
return (int) $row[$column];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user