fixed possible uninitialized $return

This commit is contained in:
Roland Gruber 2005-11-14 12:39:32 +00:00
parent 4335590047
commit c283b4ec75
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class cache {
* *
*/ */
function get_cache($attributes, $objectClass, $scopelist) { function get_cache($attributes, $objectClass, $scopelist) {
$return = array();
$this->refresh_cache(); $this->refresh_cache();
if (is_array($scopelist)) $scopes = $scopelist; if (is_array($scopelist)) $scopes = $scopelist;
else $scopes = array($scopelist); else $scopes = array($scopelist);