small SQL cleanup
This commit is contained in:
@@ -93,10 +93,10 @@ class User extends DbMapping
|
||||
NoticeID,
|
||||
CheckOutDate,
|
||||
ItemNr
|
||||
FROM %s AS c, Items
|
||||
FROM %s AS c
|
||||
INNER JOIN Items AS i ON i.ItemId = c.ItemId
|
||||
WHERE
|
||||
c.UseraccountId = %s
|
||||
AND Items.ItemId=c.ItemId
|
||||
ORDER BY %s", $table, $this->id, $sort);
|
||||
|
||||
$result = Connection::execute($sql);
|
||||
|
||||
Reference in New Issue
Block a user