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:
@@ -481,7 +481,7 @@ class DibiColumnInfo extends DibiObject
|
|||||||
*/
|
*/
|
||||||
public function getTableName()
|
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 ==
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user