diff --git a/webui/model/saas/ldap.php b/webui/model/saas/ldap.php index 85138d0a..2fd5768d 100644 --- a/webui/model/saas/ldap.php +++ b/webui/model/saas/ldap.php @@ -73,7 +73,7 @@ class ModelSaasLdap extends Model $query = $this->db->query("SELECT d.*, l.* FROM " . TABLE_DOMAIN . " as d, " . TABLE_LDAP . " as l where d.ldap_id=l.id and d.domain=?", array($d)); - if($query->num_rows > 0) { return $query->row; } + if($query->num_rows > 0) { return $query->rows; } return array(); }