mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Fix pid installation
This commit is contained in:
parent
631260428d
commit
f2c8abee77
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user