PHP 7.0 compatibility (short tags replaced by normal)

This commit is contained in:
2018-02-04 13:36:19 +01:00
parent 2a335e9c6c
commit 75e3e43a5f
26 changed files with 225 additions and 225 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ class UsersModel extends Model
return array();
}
public function getUserInformation($user_id, $passwd = false)
public function getUserInformation($user, $passwd = false)
{
if ($this->user_info == null)
{
@@ -50,7 +50,7 @@ class UsersModel extends Model
LEFT JOIN '.USERS_INFO_TABLE.' ui on ui.user_id = u.user_id
LEFT JOIN '.USERS_PC_VIEW.' pc on pc.user_id = u.user_id
LEFT JOIN '.LOGGED_USERS_VIEW.' lu on lu.user_id = u.user_id
WHERE u.user_id = \''.$user_id.'\'';
WHERE u.user_id = \''.$user.'\' OR u.nick = \''.$user.'\'';
$out = $this->select_query($query);
if (count($out) > 0)