fixing datatype warning in arary_search due to wrong return value in cache_get
This commit is contained in:
parent
44168dda8e
commit
9ad26f6ac1
@ -400,7 +400,7 @@ class Plugin_PrettyURLs {
|
||||
return $this->index[$y][$m];
|
||||
|
||||
if (is_null($h))
|
||||
return ($this->index[$y][$m][$d]);
|
||||
return isset($this->index[$y][$m][$d])? $this->index[$y][$m][$d] : false;
|
||||
|
||||
if (isset($this->index[$y][$m][$d]))
|
||||
return isset($this->index[$y][$m][$d][$h]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user