Only variables should be passed by reference

This commit is contained in:
Sebijk 2022-02-23 00:35:40 +01:00
parent 1cbbfd9ca5
commit e103ddbdfb
2 changed files with 3 additions and 2 deletions

View file

@ -778,7 +778,8 @@ class BMCalendar
if($c == 7)
{
$html .= ' </tr>' . "\n";
if($arrayKey != array_pop(array_keys($days)))
$day_array_keys = array_keys($days);
if($arrayKey != array_pop($day_array_keys))
$html .= ' <tr>' . "\n";
$c = 0;
}

View file

@ -550,7 +550,7 @@ class BMToolInterface
$result = array(
'title' => $bm_prefs['titel'],
'domains' => explode(':', $bm_prefs['domains'])
'domains' => $domains
);
return($result);