Skip to content

Commit

Permalink
Fix for PK mode in new sequence plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Dec 19, 2017
1 parent 5173195 commit 08afd8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fabrik_element/sequence/sequence.php
Expand Up @@ -284,7 +284,7 @@ public function onAfterProcess()
if ($params->get('sequence_method', 'load') === 'pk')
{
$formModel = $this->getFormModel();
$rowid = ArrayHelper::getValue($formModel->formData, '__pk_val', '');
$rowid = ArrayHelper::getValue($formModel->formData, 'rowid', '');
if (!empty($rowid))
{
$this->getListModel()->storeCell(
Expand Down

0 comments on commit 08afd8a

Please sign in to comment.