mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Fix #1524 load messages.html if read_message.html doesn't exist in currently selected communication module skin
This commit is contained in:
parent
70d88bc026
commit
883f846aba
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class communicationView extends communication
|
|||
Context::set('message', $message);
|
||||
Context::set('message_files', CommunicationModel::getMessageFiles($message));
|
||||
|
||||
if(Mobile::isFromMobilePhone())
|
||||
if(Mobile::isFromMobilePhone() && file_exists($this->getTemplatePath() . 'read_message.html'))
|
||||
{
|
||||
$template_filename = 'read_message';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue