Fix pid installation

This commit is contained in:
Dennis Eichhorn 2017-09-08 17:51:08 +02:00
parent 631260428d
commit f2c8abee77

View File

@ -69,7 +69,7 @@ class InstallerAbstract
$load = $info->getLoad();
foreach ($load as $val) {
foreach ($val['pid'] as $pid) {
$sth->bindValue(':pid', $pid, \PDO::PARAM_STR);
$sth->bindValue(':pid', sha1(str_replace('/', '', $pid)), \PDO::PARAM_STR);
$sth->bindValue(':type', $val['type'], \PDO::PARAM_INT);
$sth->bindValue(':from', $val['from'], \PDO::PARAM_STR);
$sth->bindValue(':for', $val['for'], \PDO::PARAM_STR);