* Minor bugfixes with addressbooks
[squirrelmail.git] / functions / addressbook.php
index fa53c7e30c5e591f678331c921b1de314ec45640..8385ca3c4c2982fcf288b027fe6718d25e246fe1 100644 (file)
         $ret = array();
         for($i = 1 ; $i <= $this->numbackends ; $i++) {
            if(empty($type) || $type == $this->backends[$i]->btype) {
-              array_push($ret, &$this->backends[$i]);
+              $ret[] = &$this->backends[$i];
            }
         }
         return $ret;