Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reverse order fo messages displayed
  • Loading branch information
john committed Apr 24, 2017
1 parent b6fd640 commit aa4b6de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/messages.php
Expand Up @@ -10,8 +10,8 @@ if (!$data) {
} }


$user = User::get($data->username); $user = User::get($data->username);
$inbox = SecureMessage::all_to($user->id); $inbox = array_reverse(SecureMessage::all_to($user->id));
$outbox = SecureMessage::all_from($user->id); $outbox = array_reverse(SecureMessage::all_from($user->id));


include 'template/header.html'; include 'template/header.html';
include 'template/user_menu_button.php'; include 'template/user_menu_button.php';
Expand Down

0 comments on commit aa4b6de

Please sign in to comment.