Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.3

Bug #19218 _localeSafeImplode() broken for NULL / empty strings
Submitted: 2012-01-12 03:00 UTC
From: danielc Assigned: danielc
Status: Closed Package: MDB_QueryTool (version SVN)
PHP Version: 5_4 SVN-2012-01-11 OS:
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 25 - 8 = ?

 [2012-01-12 03:00 UTC] danielc (Daniel Convissor)
Description: ------------ MDB_QueryTool_Query::_localeSafeImplode() drops NULL or empty strings. This happens because of the way $glue is appended only if $str has length. I will commit a change that adds '' for 0 length strings and the string NULL for NULL values. This is a further improvement on Bug #10073.


 [2012-01-12 03:01 UTC] danielc (Daniel Convissor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: danielc