Skip to content

Commit 0e29e91

Browse files
committed
single quote
Signed-off-by: BrianTeeman <[email protected]>
1 parent b38b05d commit 0e29e91

File tree

1 file changed

+2
-2
lines changed
  • administrator/components/com_categories/src/View/Category

1 file changed

+2
-2
lines changed

administrator/components/com_categories/src/View/Category/HtmlView.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function (Toolbar $childBar) use ($canDo, $component) {
208208
$childBar->save('category.save');
209209
$childBar->save2new('category.save2new');
210210

211-
if ($canDo->get('core.create', 'com_menus.menu') && $component === "com_content") {
211+
if ($canDo->get('core.create', 'com_menus.menu') && $component === 'com_content') {
212212
$childBar->save('category.save2menulist', 'JTOOLBAR_SAVE_TO_MENU_AS_LIST');
213213
$childBar->save('category.save2menublog', 'JTOOLBAR_SAVE_TO_MENU_AS_BLOG');
214214
}
@@ -239,7 +239,7 @@ function (Toolbar $childBar) use ($checkedOut, $canDo, $itemEditable, $component
239239
}
240240
}
241241

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

0 commit comments

Comments
 (0)