draft pid to path fix

This commit is contained in:
Dennis Eichhorn 2017-09-08 15:38:23 +02:00
parent 70842216b6
commit f78f9280b9
2 changed files with 2 additions and 3 deletions

View File

@ -103,7 +103,7 @@ class Installer extends InstallerAbstract
);
$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(':type', $data['type'] ?? 1, \PDO::PARAM_INT);
$sth->bindValue(':subtype', $data['subtype'] ?? 2, \PDO::PARAM_INT);

View File

@ -25,8 +25,7 @@
"load": [
{
"pid": [
"754a08ddf8bcb1cf22f310f09206dd783d42f7dd",
"40a630e157504605e40ba241f6b1f78ab1dd97b9"
"/backend"
],
"type": 4,
"for": "Content",