Permalink
Browse files

# [#29700] Component installer and menus may return invisible bug.

Thanks Mario.
  • Loading branch information...
1 parent 736a047 commit a779c6b37c3b09534be4ae44ed8b560345b9aa13 @jproextensions jproextensions committed with infograf768 Nov 19, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 installation/CHANGELOG
  2. +2 −2 libraries/joomla/installer/adapters/component.php
@@ -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
@@ -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';
@@ -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;

0 comments on commit a779c6b

Please sign in to comment.