mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
check if returned array is not empty
This commit is contained in:
parent
9958e79315
commit
4b89d920cb
|
@ -112,7 +112,7 @@ class SeedDMS_View_Common {
|
|||
if($tmpret) {
|
||||
if(is_string($tmpret))
|
||||
$ret .= $tmpret;
|
||||
elseif(is_array($tmpret) || is_object($tmpret))
|
||||
elseif((is_array($tmpret) && $tmpret) || is_object($tmpret))
|
||||
$ret = ($ret === null) ? $tmpret : array_merge($ret, $tmpret);
|
||||
else
|
||||
$ret = $tmpret;
|
||||
|
|
Loading…
Reference in New Issue
Block a user