Skip to content

Commit b37e3c4

Browse files
author
Phil E. Taylor
committed
rearrange code
1 parent 1553399 commit b37e3c4

File tree

1 file changed

+1
-1
lines changed
  • administrator/components/com_users/src/View/Notes

1 file changed

+1
-1
lines changed

administrator/components/com_users/src/View/Notes/HtmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ protected function addToolbar()
156156
$childBar->checkin('notes.checkin')->listCheck(true);
157157
}
158158

159-
if ($canDo->get('core.edit.state') && $this->state->get('filter.published') != -2)
159+
if ($this->state->get('filter.published') != -2 && $canDo->get('core.edit.state'))
160160
{
161161
$childBar->trash('notes.trash');
162162
}

0 commit comments

Comments
 (0)