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

DibiDatabaseInfo: no table is returned as NULL

This commit is contained in:
David Grudl
2015-01-12 08:57:55 +01:00
parent 50782c037c
commit 59da4bd66a

View File

@@ -481,7 +481,7 @@ class DibiColumnInfo extends DibiObject
*/
public function getTableName()
{
return isset($this->info['table']) ? $this->info['table'] : NULL;
return isset($this->info['table']) && $this->info['table'] != NULL ? $this->info['table'] : NULL; // intentionally ==
}