mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix potentially undefined variables in message.view.php
This commit is contained in:
parent
52a1178528
commit
614ed353d1
1 changed files with 3 additions and 3 deletions
|
|
@ -71,9 +71,9 @@ class MessageView extends Message
|
||||||
|
|
||||||
Context::set('ssl_mode', \RX_SSL);
|
Context::set('ssl_mode', \RX_SSL);
|
||||||
Context::set('system_message', nl2br($this->getMessage()));
|
Context::set('system_message', nl2br($this->getMessage()));
|
||||||
Context::set('system_message_detail', nl2br($detail));
|
Context::set('system_message_detail', nl2br($detail ?? ''));
|
||||||
Context::set('system_message_help', self::getErrorHelp(strval($detail)));
|
Context::set('system_message_help', self::getErrorHelp(strval($detail ?? '')));
|
||||||
Context::set('system_message_location', escape($location));
|
Context::set('system_message_location', escape($location ?? ''));
|
||||||
|
|
||||||
if ($this->getError())
|
if ($this->getError())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue