Fix pid installation

This commit is contained in:
Dennis Eichhorn 2017-09-08 17:51:38 +02:00
parent f78f9280b9
commit 77adf9d3c4

View File

@ -103,7 +103,7 @@ class Installer extends InstallerAbstract
);
$sth->bindValue(':id', $data['id'] ?? 0, \PDO::PARAM_INT);
$sth->bindValue(':pid', sha1(str_replace('/', '', $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);