Permalink
Browse files

Merge pull request #703 from elinw/toolbar

Restore the admin application check for toolbar.
  • Loading branch information...
2 parents 59c18dc + a962ad7 commit 694c346f3694aec2a1a554dc3b951f49332969b3 @pasamio pasamio committed Jan 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libraries/joomla/application/component/helper.php
View
2 libraries/joomla/application/component/helper.php
@@ -357,7 +357,7 @@ public static function renderComponent($option, $params = array())
$contents = self::executeComponent($path);
// Build the component toolbar
- if ($path = JApplicationHelper::getPath('toolbar'))
+ if ($path = JApplicationHelper::getPath('toolbar') && $app->isAdmin())
{
// Get the task again, in case it has changed
$task = JRequest::getString('task');

0 comments on commit 694c346

Please sign in to comment.