fixing datatype warning in arary_search due to wrong return value in cache_get

This commit is contained in:
real_nowhereman 2008-09-27 12:47:47 +00:00
parent 44168dda8e
commit 9ad26f6ac1

View File

@ -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]);