Bugfix count(null) www/lib

This commit is contained in:
Xenomporio
2022-06-10 17:39:14 +02:00
parent eaa3b1da75
commit b974f1c38e
10 changed files with 173 additions and 173 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ class Navigation {
if(isset($form[btnUp])) $this->PosUp();
if(isset($form[btnDown])) $this->PosDown();
$this->ArrNav = $this->GetArrNav();
if(count($this->ArrNav)>0)if($this->actNavID=="") $this->actNavID = key($this->ArrNav);
if((!empty($this->ArrNav)?count($this->ArrNav):0)>0)if($this->actNavID=="") $this->actNavID = key($this->ArrNav);
$this->SetVar();
$this->ArrowButton();
}