Merge branch 'develop' of https://github.com/PHPOffice/PHPExcel into develop

This commit is contained in:
MarkBaker 2014-12-06 00:00:18 +00:00
commit ab49033479
1 changed files with 1 additions and 1 deletions

View File

@ -710,7 +710,7 @@ if ((!function_exists('mb_str_replace')) &&
} }
foreach((array) $search as $key => $s) { foreach((array) $search as $key => $s) {
if($s == '') { if($s == '' && $s !== 0) {
continue; continue;
} }
$r = !is_array($replace) ? $replace : (array_key_exists($key, $replace) ? $replace[$key] : ''); $r = !is_array($replace) ? $replace : (array_key_exists($key, $replace) ? $replace[$key] : '');