This commit is contained in:
SJ 2014-09-04 16:37:26 +02:00
parent 200f90d65d
commit 4616e98b33

View File

@ -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();
}