Empty commit

This commit is contained in:
Git 2016-02-11 08:00:29 +00:00
parent 16c67ce07f
commit ce24d5d080

View File

@ -21,6 +21,8 @@
$Select = "f.FriendID"; $Select = "f.FriendID";
$Where = "f.UserID = '$UserID'"; $Where = "f.UserID = '$UserID'";
$Join1 = "f.FriendID = m.ID";
$Join2 = "f.FriendID = i.UserID";
@ -40,8 +42,8 @@
m.LastAccess, m.LastAccess,
i.Avatar i.Avatar
FROM friends AS f FROM friends AS f
JOIN users_main AS m ON f.FriendID = m.ID JOIN users_main AS m ON $Join1
JOIN users_info AS i ON f.FriendID = i.UserID JOIN users_info AS i ON $Join2
WHERE $Where WHERE $Where
ORDER BY Username ORDER BY Username
LIMIT $Limit"); LIMIT $Limit");