Skip to content

Commit

Permalink
Fix Kunena#214 Fatal Error: Class 'JToolBarHelper' not found
Browse files Browse the repository at this point in the history
  • Loading branch information
mahagr committed Dec 30, 2011
1 parent 5ab43f8 commit 6db8e6f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions administrator/components/com_kunena/toolbar.kunena.html.php
Expand Up @@ -22,6 +22,8 @@
// MOS Intruder Alerts
defined( '_JEXEC' ) or die();

// Fixes a bug in Joomla 2.5.0 Beta1:
if (!JFactory::getApplication()->isAdmin()) return;

// ################################################################
class CKunenaToolbar
Expand Down
3 changes: 3 additions & 0 deletions administrator/components/com_kunena/toolbar.kunena.php
Expand Up @@ -20,6 +20,9 @@
**/
defined( '_JEXEC' ) or die();

// Fixes a bug in Joomla 2.5.0 Beta1:
if (!JFactory::getApplication()->isAdmin()) return;

require_once( JApplicationHelper::getPath( 'toolbar_html' ) );

$task = JRequest::getCmd( 'task' );
Expand Down
4 changes: 2 additions & 2 deletions build/build.number
@@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Sat Dec 10 13:16:49 EET 2011
build.number=5171
#Fri Dec 30 14:57:26 EET 2011
build.number=5173
2 changes: 2 additions & 0 deletions components/com_kunena/CHANGELOG.php
Expand Up @@ -33,6 +33,8 @@
Kunena 1.7.2-DEV
# [#214] Fatal Error: Class 'JToolBarHelper' not found in toolbar.kunena.html.php
10-December-2011 Matias
# [#119] Text looking like bbcode becomes empty message
# [#194] Blank message because of a bug in BBCode URL shortening
Expand Down

0 comments on commit 6db8e6f

Please sign in to comment.