Skip to content

Commit da925cd

Browse files
authored
[4.0][worflow] - batch change stage
1 parent 68670ce commit da925cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

administrator/components/com_content/Model/ArticleModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ protected function batchWorkflowStage($value, $pks, $contexts)
235235
$workflow = new Workflow(['extension' => 'com_content']);
236236

237237
// Update content state value and workflow associations
238-
return ContentHelper::updateContentState($pks, $state->condition)
238+
return ContentHelper::updateContentState($pks, $stage->condition)
239239
&& $workflow->updateAssociations($pks, $value);
240240
}
241241

0 commit comments

Comments
 (0)