From: FlxAlbroscheit Date: Sun, 8 Nov 2015 14:45:42 +0000 (+0100) Subject: Preview last five conversations in message-sidebar X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=613cf41fd69cf9114df357729bc95b52156744d8;p=friendica.git Preview last five conversations in message-sidebar --- diff --git a/mod/message.php b/mod/message.php index 2a64c2e051..0ed2b98841 100644 --- a/mod/message.php +++ b/mod/message.php @@ -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'),