Skip to content

Commit

Permalink
single quote
Browse files Browse the repository at this point in the history
Signed-off-by: BrianTeeman <brian@teeman.net>
  • Loading branch information
brianteeman committed Jul 24, 2024
1 parent b38b05d commit 0e29e91
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function (Toolbar $childBar) use ($canDo, $component) {
$childBar->save('category.save');
$childBar->save2new('category.save2new');

if ($canDo->get('core.create', 'com_menus.menu') && $component === "com_content") {
if ($canDo->get('core.create', 'com_menus.menu') && $component === 'com_content') {
$childBar->save('category.save2menulist', 'JTOOLBAR_SAVE_TO_MENU_AS_LIST');
$childBar->save('category.save2menublog', 'JTOOLBAR_SAVE_TO_MENU_AS_BLOG');
}
Expand Down Expand Up @@ -239,7 +239,7 @@ function (Toolbar $childBar) use ($checkedOut, $canDo, $itemEditable, $component
}
}

if ($canDo->get('core.create', 'com_menus.menu') && $component === "com_content") {
if ($canDo->get('core.create', 'com_menus.menu') && $component === 'com_content') {
$childBar->save('category.save2menulist', 'JTOOLBAR_SAVE_TO_MENU_AS_LIST');
$childBar->save('category.save2menublog', 'JTOOLBAR_SAVE_TO_MENU_AS_BLOG');
}
Expand Down

0 comments on commit 0e29e91

Please sign in to comment.