Skip to content

Commit

Permalink
# [#29700] Component installer and menus may return invisible bug.
Browse files Browse the repository at this point in the history
Thanks Mario.
  • Loading branch information
jproextensions authored and infograf768 committed Nov 19, 2012
1 parent 736a047 commit a779c6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions installation/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ $ -> Language fix or change
# [#28087] PHP errors when all modules are removed. Thanks David
# [#29694] Fix broken extension update. Thanks Viet Vu
# [#29439] Bootstrap clearfix improperly used. Thanks Elijah.
# [#29700] Component installer and menus may return invisible bug. Thanks Mario.

18-Nov-2012 Jean-Marie Simonet
# [#29684] Wrong HTML markup on category edit. Thanks Ofer
Expand Down
4 changes: 2 additions & 2 deletions libraries/joomla/installer/adapters/component.php
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ protected function _buildAdminMenus()
$data = array();
$data['menutype'] = 'main';
$data['client_id'] = 1;
$data['title'] = (string) $menuElement;
$data['title'] = (string) trim($menuElement);
$data['alias'] = (string) $menuElement;
$data['link'] = 'index.php?option=' . $option;
$data['type'] = 'component';
Expand Down Expand Up @@ -1370,7 +1370,7 @@ protected function _buildAdminMenus()
$data = array();
$data['menutype'] = 'main';
$data['client_id'] = 1;
$data['title'] = (string) $child;
$data['title'] = (string) trim($child);
$data['alias'] = (string) $child;
$data['type'] = 'component';
$data['published'] = 0;
Expand Down

0 comments on commit a779c6b

Please sign in to comment.