Changed profile buttons

This commit is contained in:
Lars van Hijfte
2017-01-30 12:44:15 +01:00
parent 877637fcc9
commit c8450f3cb3
5 changed files with 38 additions and 36 deletions

View File

@@ -15,7 +15,7 @@ function getOldChatMessages($user2ID) {
`origin` = :user2 AND
`destination` = :user1
ORDER BY
`messageID` ASC
`creationdate` ASC
");
$stmt->bindParam(":user1", $user1ID);
@@ -74,7 +74,7 @@ function getNewChatMessages($lastID, $destination) {
`destination` = :user1) AND
`messageID` > :lastID
ORDER BY
`messageID` ASC
`creationdate` ASC
");
$stmt->bindParam(':user1', $_SESSION["userID"]);