Plugin Directory

Changeset 1888061


Ignore:
Timestamp:
06/06/2018 09:42:28 AM (8 years ago)
Author:
ingpsp
Message:

Do not send in empty array values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ing-psp/trunk/ing-php/src/Common/ArrayFunctions.php

    r1766045 r1888061  
    2020            }
    2121
    22             if ($array[$key] === null || count($array[$key]) === 0) {
     22            if (empty($array[$key]) && $array[$key] !== '0' && $array[$key] !== 0) {
    2323                unset($array[$key]);
    2424            }
Note: See TracChangeset for help on using the changeset viewer.