Bugfix count(null) www/pages

This commit is contained in:
Xenomporio
2022-06-10 11:28:28 +02:00
parent 93e7ee4903
commit eaa3b1da75
53 changed files with 409 additions and 409 deletions
+2 -2
View File
@@ -320,7 +320,7 @@ class Shopexport
$methodName = 'RemoteConnection';
$r = new ReflectionMethod($className, $methodName);
$params = $r->getParameters();
$anzargs = count($params);
$anzargs = (!empty($params)?count($params):0);
if($anzargs > 1) {
$pageContents = $this->app->remote->RemoteConnection($id, true);
}
@@ -512,7 +512,7 @@ class Shopexport
}
}
//print_r($checkarray);
if(is_array($checkarray) && count($checkarray)>0) {
if(is_array($checkarray) && (!empty($checkarray)?count($checkarray):0)>0) {
$delete=0;
foreach($checkarray as $key=>$value) {
if($checkarray[$key]!=='mark' && $checkarray[$key]!=='delete' && $checkarray[$key]!=='update') {