Skip to content

Commit e72d0ac

Browse files
alikonwilsonge
authored andcommitted
[4.0] [workflow] - notice on edit plugin (#21623)
* [4.0] [workflow] - notice on edit plugin * conservative * don't kill empy lines
1 parent 34ba22e commit e72d0ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/joomla/edit/global.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
'version_note',
4141
);
4242

43-
if ($displayData->get('item')->id !== null)
43+
if (isset($displayData->get('item')->id) && ($displayData->get('item')->id !== null))
4444
{
4545
array_unshift($fields, 'transition');
4646
}

0 commit comments

Comments
 (0)