Skip to content
Permalink
Browse files

Reverse order fo messages displayed

  • Loading branch information
john committed Apr 24, 2017
1 parent b6fd640 commit aa4b6de431d418f361fe663cdcdaa0a8c460730e
Showing with 2 additions and 2 deletions.
  1. +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';

0 comments on commit aa4b6de

Please sign in to comment.
You can’t perform that action at this time.