Skip to content

Commit

Permalink
Bugfix updater
Browse files Browse the repository at this point in the history
  • Loading branch information
ctippler committed Oct 16, 2018
1 parent 985d1cb commit dcdc2c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elements/Bundle/ProcessManagerBundle/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function updateVersion5()
{
$db = \Pimcore\Db::get();
$metadataColumns = $this->getTableColumns(ElementsProcessManagerBundle::TABLE_NAME_CONFIGURATION);
if (!in_array('restrictToRoles', $metadataColumns)) {
if (!$metadataColumns['restrictToRoles']) {
$db->query(
'ALTER TABLE '.ElementsProcessManagerBundle::TABLE_NAME_CONFIGURATION." ADD COLUMN `restrictToRoles` VARCHAR(100) not null default ''"
);
Expand Down

0 comments on commit dcdc2c7

Please sign in to comment.