mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 02:11:59 +01:00
ldap fix #2
This commit is contained in:
parent
200f90d65d
commit
4616e98b33
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user