fixed possible uninitialized $return
This commit is contained in:
parent
4335590047
commit
c283b4ec75
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue