mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
(legacy) fix crashreport " PHP Warning: Illegal string offset 'item' in /usr/local/www/services_dnsmasq_edit.php on line 250"
This commit is contained in:
parent
2f1872eed7
commit
5314ae8569
@ -247,7 +247,7 @@ include("head.inc");
|
||||
</tr>
|
||||
<?php
|
||||
$counter = 0;
|
||||
if($pconfig['aliases']['item']):
|
||||
if(isset($pconfig['aliases']['item']) && is_array($pconfig['aliases']['item']))):
|
||||
foreach($pconfig['aliases']['item'] as $item):
|
||||
$host = $item['host'];
|
||||
$domain = $item['domain'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user