mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Fix various warnings in PHP 8.0
This commit is contained in:
parent
664a68fc2a
commit
786dace639
8 changed files with 47 additions and 41 deletions
|
|
@ -430,7 +430,7 @@ class widgetController extends widget
|
|||
$cache_content->variables = new stdClass();
|
||||
foreach($widget_var_matches as $matches)
|
||||
{
|
||||
if($matches[2])
|
||||
if(isset($matches[2]) && $matches[2])
|
||||
{
|
||||
$key = str_replace('?$__Context->', '', $matches[2]);
|
||||
$cache_content->variables->{$key} = Context::get($key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue