1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-08 15:16:58 +02:00

DibiResultInfo: fixed case insensitivity

This commit is contained in:
David Grudl
2015-10-26 19:54:18 +01:00
parent 47ef875c73
commit 84f3a5ddef
2 changed files with 8 additions and 5 deletions

View File

@@ -390,7 +390,7 @@ class DibiResultInfo extends DibiObject
$this->columns = array();
$reflector = $this->driver instanceof IDibiReflector ? $this->driver : NULL;
foreach ($this->driver->getResultColumns() as $info) {
$this->columns[] = $this->names[$info['name']] = new DibiColumnInfo($reflector, $info);
$this->columns[] = $this->names[strtolower($info['name'])] = new DibiColumnInfo($reflector, $info);
}
}
}