mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix deprecation notices in PHP 8.2 #2064
This commit is contained in:
parent
8e2c4b3ef9
commit
c07efe7905
7 changed files with 15 additions and 14 deletions
|
|
@ -1109,7 +1109,7 @@ class ModuleHandler extends Handler
|
|||
{
|
||||
if($val->type == 'image')
|
||||
{
|
||||
if(strncmp('./files/attach/images/', $val->value, 22) === 0)
|
||||
if(strncmp('./files/attach/images/', $val->value ?? '', 22) === 0)
|
||||
{
|
||||
$val->value = Context::getRequestUri() . substr($val->value, 2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue