diff --git a/interface/web/help/support_message_list.php b/interface/web/help/support_message_list.php index 02b50aaec4632472889819467ea67ff7259fd10e..dd9fd1183f4258dc8f38bbb942075839c5482679 100644 --- a/interface/web/help/support_message_list.php +++ b/interface/web/help/support_message_list.php @@ -12,7 +12,8 @@ $app->auth->check_module_permissions('help'); $app->uses('listform_actions'); //* Optional limit -$app->listform_actions->SQLExtWhere = "support_message.recipient_id = ".$app->functions->intval($_SESSION['s']['user']['userid']); +$userid=$app->functions->intval($_SESSION['s']['user']['userid']); +$app->listform_actions->SQLExtWhere = "support_message.recipient_id = $userid OR support_message.sender_id = $userid"; //* Start the form rendering and action ahndling $app->listform_actions->onLoad(); diff --git a/interface/web/help/templates/support_message_list.htm b/interface/web/help/templates/support_message_list.htm index 1695cccd77dbba128923d76dd9ad2f79755ee4ee..3094b96728705129dbc112494e666631ef4559c1 100644 --- a/interface/web/help/templates/support_message_list.htm +++ b/interface/web/help/templates/support_message_list.htm @@ -16,13 +16,13 @@
{tmpl_var name='search_limit'} | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+ | @@ -33,7 +33,7 @@ | ||||||||||||||
{tmpl_var name="sender_id"} | +{tmpl_var name="sender_id"} | {tmpl_var name="subject"} | {tmpl_var name="tstamp"} |
@@ -43,16 +43,16 @@
{tmpl_var name='globalsearch_noresults_text_txt'} |
+ {tmpl_var name='globalsearch_noresults_text_txt'} |
| |||||||||