Fix updating systems sometimes items
This commit is contained in:
parent
8396866280
commit
d2d2f31664
@ -36,7 +36,7 @@ class SystemController extends Controller
|
|||||||
|
|
||||||
// Sometimes items
|
// Sometimes items
|
||||||
foreach (['sysop','hold','notes','zt_id','heartbeat'] as $key)
|
foreach (['sysop','hold','notes','zt_id','heartbeat'] as $key)
|
||||||
if ($request->validated($key))
|
if ($request->has($key))
|
||||||
$o->{$key} = $request->validated($key);
|
$o->{$key} = $request->validated($key);
|
||||||
|
|
||||||
switch ($request->validated('pollmode')) {
|
switch ($request->validated('pollmode')) {
|
||||||
|
@ -337,7 +337,7 @@ class Address extends Model
|
|||||||
throw new InvalidFTNException(sprintf('Invalid FTN: [%s] - point address invalid [%d]',$ftn,$matches[4]));
|
throw new InvalidFTNException(sprintf('Invalid FTN: [%s] - point address invalid [%d]',$ftn,$matches[4]));
|
||||||
|
|
||||||
// Work out region
|
// Work out region
|
||||||
$region_id = 0;
|
$region_id = NULL;
|
||||||
$zone_id = NULL;
|
$zone_id = NULL;
|
||||||
|
|
||||||
// We can only work out region/zone if we have a domain - this is for 2D parsing
|
// We can only work out region/zone if we have a domain - this is for 2D parsing
|
||||||
|
Loading…
Reference in New Issue
Block a user