Permalink
Browse files
Reverse order fo messages displayed
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
public/messages.php
|
@@ -10,8 +10,8 @@ |
|
|
} |
|
|
|
|
|
$user = User::get($data->username); |
|
|
$inbox = SecureMessage::all_to($user->id); |
|
|
$outbox = SecureMessage::all_from($user->id); |
|
|
$inbox = array_reverse(SecureMessage::all_to($user->id)); |
|
|
$outbox = array_reverse(SecureMessage::all_from($user->id)); |
|
|
|
|
|
include 'template/header.html'; |
|
|
include 'template/user_menu_button.php'; |
|
|