zend-db
zend-db copied to clipboard
Field names with spaces are not quoted correctly
in my case i have a table with "my field" as field name it is returned as "[my] [field]" instead of "[my field]".
The problem is currently being triggered in Zend\Db\Adapter\PlatformAbstractPlatform::quoteIdentifierInFragment. On line 44 there is a preg_split function that splits the fieldname.
i tried to add my case in the tests but have no time to run them atm and/or fixed any issues that will turn up