mirror of
https://github.com/Karaka-Management/oms-Navigation.git
synced 2026-02-13 15:28:41 +00:00
draft pid to path fix
This commit is contained in:
parent
70842216b6
commit
f78f9280b9
|
|
@ -103,7 +103,7 @@ class Installer extends InstallerAbstract
|
||||||
);
|
);
|
||||||
|
|
||||||
$sth->bindValue(':id', $data['id'] ?? 0, \PDO::PARAM_INT);
|
$sth->bindValue(':id', $data['id'] ?? 0, \PDO::PARAM_INT);
|
||||||
$sth->bindValue(':pid', $data['pid'] ?? '', \PDO::PARAM_STR);
|
$sth->bindValue(':pid', sha1(str_replace('/', '', $data['pid'] ?? ''), \PDO::PARAM_STR);
|
||||||
$sth->bindValue(':name', $data['name'] ?? '', \PDO::PARAM_STR);
|
$sth->bindValue(':name', $data['name'] ?? '', \PDO::PARAM_STR);
|
||||||
$sth->bindValue(':type', $data['type'] ?? 1, \PDO::PARAM_INT);
|
$sth->bindValue(':type', $data['type'] ?? 1, \PDO::PARAM_INT);
|
||||||
$sth->bindValue(':subtype', $data['subtype'] ?? 2, \PDO::PARAM_INT);
|
$sth->bindValue(':subtype', $data['subtype'] ?? 2, \PDO::PARAM_INT);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user