Prevent 'undefined' in php error log

This commit is contained in:
djmaze 2021-08-18 12:25:17 +02:00
parent 50d7803c17
commit 212aeb6910
3 changed files with 7 additions and 3 deletions

View file

@ -77,7 +77,7 @@ class DemoAccountPlugin extends \RainLoop\Plugins\AbstractPlugin
}
}
public function FilterSendMessage(&$oMessage)
public function FilterSendMessage($oMessage)
{
if ($oMessage && $this->isDemoAccount($this->Manager()->Actions()->GetAccount()))
{