mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-01-25 14:48:41 +00:00
inspection fixes
This commit is contained in:
parent
804b9429d6
commit
79f8da0ba6
|
|
@ -85,7 +85,7 @@ class Installer extends InstallerAbstract
|
|||
$navElement = new NavElement();
|
||||
|
||||
$navElement->id = (int) ($data['id'] ?? 0);
|
||||
$navElement->pid = (string) (\sha1(\str_replace('/', '', $data['pid'] ?? '')));
|
||||
$navElement->pid = \sha1(\str_replace('/', '', $data['pid'] ?? ''));
|
||||
$navElement->name = (string) ($data['name'] ?? '');
|
||||
$navElement->type = (int) ($data['type'] ?? 1);
|
||||
$navElement->subtype = (int) ($data['subtype'] ?? 2);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user