Skip to content

Commit f3ce61b

Browse files
committed
system test errors cleared
1 parent 168b709 commit f3ce61b

File tree

2 files changed

+2
-2
lines changed
  • administrator/components/com_content/tmpl/article
  • components/com_content/tmpl/form

2 files changed

+2
-2
lines changed

administrator/components/com_content/tmpl/article/edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,6 @@
183183
</div>
184184
</form>
185185
<?php echo LayoutHelper::render('joomla.workflow.graphmodal', [
186-
'workflow_id' => $this->item->workflow_id,
186+
'workflow_id' => isset($this->item->workflow_id) ? $this->item->workflow_id : null,
187187
]);
188188
?>

components/com_content/tmpl/form/edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,6 @@
183183
</form>
184184
</div>
185185
<?php echo LayoutHelper::render('joomla.workflow.graphmodal', [
186-
'workflow_id' => $this->item->workflow_id,
186+
'workflow_id' => isset($this->item->workflow_id) ? $this->item->workflow_id : null,
187187
]);
188188
?>

0 commit comments

Comments
 (0)