gui fixes

This commit is contained in:
SJ 2014-06-03 23:17:43 +02:00
parent ccc7ad20da
commit f6a39fcd1d
2 changed files with 5 additions and 0 deletions

View File

@ -76,6 +76,8 @@ class ControllerMessageView extends Controller {
$this->data['message']['tag'] = $this->model_search_message->get_message_tag($this->data['id'], $session->get("uid")); $this->data['message']['tag'] = $this->model_search_message->get_message_tag($this->data['id'], $session->get("uid"));
$this->data['message']['note'] = $this->model_search_message->get_message_note($this->data['id'], $session->get("uid")); $this->data['message']['note'] = $this->model_search_message->get_message_note($this->data['id'], $session->get("uid"));
$this->data['spam'] = $this->model_search_message->is_message_spam($this->data['id']);
$this->data['images'] = array(); $this->data['images'] = array();
foreach($this->data['attachments'] as $a) { foreach($this->data['attachments'] as $a) {

View File

@ -103,6 +103,9 @@ class ControllerSearchHelper extends Controller {
$match = preg_replace("/OR/", "|", $match); $match = preg_replace("/OR/", "|", $match);
$this->a['match'] = preg_split("/ /", $match); $this->a['match'] = preg_split("/ /", $match);
$this->a['sort'] = "date";
$this->a['order'] = 0;
} }