ZF-9702: createRow() with defaultSource = Zend_Db_Table::DEFAULT_DB sets default to NULL although string(0) "" is real default

Issue Type: Bug Created: 2010-04-18T19:26:50.000+0000 Last Updated: 2012-11-20T21:37:36.000+0000 Status: Open Fix version(s): Reporter: Stephan Nachtsheim (mestrona_nachtsheim) Assignee: None Tags: - Zend_Db_Table

Related issues: Attachments:


See file Zend/Db/Table/Abstract.php, @version $Id: Abstract.php 21079 2010-02-18 18:15:49Z tech13 $

In line 1422: if (($metadata['DEFAULT'] != null) &&

but it should be: if (($metadata['DEFAULT'] !== null) &&

kind regards, Stephan Nachtsheim


No comments to display

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.