added missing $ to variable name

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2018-05-13 09:04:49 +02:00
parent 2331cd7546
commit 41777063f0

View File

@ -98,7 +98,7 @@ class ModelUserAuth extends Model {
// fallback local auth // fallback local auth
private function checkFallbackLogin(username = '', $password = '', $data = array()) { private function checkFallbackLogin($username = '', $password = '', $data = array()) {
$session = Registry::get('session'); $session = Registry::get('session');
$query = $this->db->query("SELECT u.username, u.uid, u.realname, u.dn, u.password, u.isadmin, u.domain FROM " . TABLE_USER . " u, " . TABLE_EMAIL . " e WHERE e.email=? AND e.uid=u.uid", array($username)); $query = $this->db->query("SELECT u.username, u.uid, u.realname, u.dn, u.password, u.isadmin, u.domain FROM " . TABLE_USER . " u, " . TABLE_EMAIL . " e WHERE e.email=? AND e.uid=u.uid", array($username));