mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
Visual Console Refactor: bugfix
Former-commit-id: 8243195bd4ed0d4247983c510ed81d5b415915e8
This commit is contained in:
parent
37c562f210
commit
9a186fcb8f
@ -450,6 +450,8 @@ class Item extends Model
|
||||
$metaconsoleId = static::extractMetaconsoleId($data);
|
||||
if ($metaconsoleId !== null && $metaconsoleId <= 0) {
|
||||
$agentData['metaconsoleId'] = null;
|
||||
} else {
|
||||
$agentData['metaconsoleId'] = $metaconsoleId;
|
||||
}
|
||||
|
||||
// The agent Id should be a valid int or a null value.
|
||||
|
Loading…
x
Reference in New Issue
Block a user