mirror of
https://github.com/dg/dibi.git
synced 2025-08-06 06:07:39 +02:00
DibiLazyStorage: allows empty string as property name for reading
This commit is contained in:
@@ -544,7 +544,7 @@ class DibiColumnInfo extends DibiObject
|
||||
if (self::$types === NULL) {
|
||||
self::$types = new DibiLazyStorage(array(__CLASS__, 'detectType'));
|
||||
}
|
||||
return $this->info['nativetype'] ? self::$types->{$this->info['nativetype']} : dibi::TEXT;
|
||||
return self::$types->{$this->info['nativetype']};
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user