mirror of
https://github.com/friendica/friendica
synced 2024-12-22 17:20:16 +00:00
Preview last five conversations in message-sidebar
This commit is contained in:
parent
06676e7c1b
commit
613cf41fd6
1 changed files with 2 additions and 1 deletions
|
@ -7,8 +7,9 @@ function message_init(&$a) {
|
|||
|
||||
$tabs = '';
|
||||
|
||||
if (is_numeric($a->argv[1]))
|
||||
if ($a->argc >1 && is_numeric($a->argv[1])) {
|
||||
$tabs = render_messages(get_messages(local_user(),0,5), 'mail_list.tpl');
|
||||
}
|
||||
|
||||
$new = array(
|
||||
'label' => t('New Message'),
|
||||
|
|
Loading…
Reference in a new issue