Skip to content

Commit

Permalink
Fix for Issue #83, allowing for explicit NULL override on QListItem C…
Browse files Browse the repository at this point in the history
…onstructor (Gaspar Attila)
  • Loading branch information
mikeho committed Jul 18, 2011
1 parent dc9e1f8 commit b6f07e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/qcodo/_core/qform/QListItem.class.php
Expand Up @@ -26,7 +26,7 @@ public function __construct($strName, $strValue, $blnSelected = false, $strItemG

// Override parameters get applied here
$strOverrideArray = func_get_args();
if (count($strOverrideArray) > 4) {
if (count($strOverrideArray) > 4 && !is_null($strOverrideParameters)) {
try {
$strOverrideArray = array_reverse($strOverrideArray);
array_pop($strOverrideArray);
Expand Down

0 comments on commit b6f07e6

Please sign in to comment.