Skip to content

Commit

Permalink
Fix for issue t3framework#249
Browse files Browse the repository at this point in the history
Admin breaking in J3.2.2 with version check so not to break sites that haven't updated
  • Loading branch information
robwent committed Feb 6, 2014
1 parent 81d1381 commit 290f00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/plg_system_t3/admin/tpls/default.php
Expand Up @@ -19,7 +19,7 @@
JHtml::_('behavior.formvalidation');
JHtml::_('behavior.keepalive');
$user = JFactory::getUser();
$canDo = TemplatesHelper::getActions();
$canDo = version_compare( JVERSION, '3.2.2', 'ge' ) ? JHelperContent::getActions('com_templates') : TemplatesHelper::getActions();
$iswritable = is_writable('t3test.txt');
?>
<?php if($iswritable): ?>
Expand Down

0 comments on commit 290f00c

Please sign in to comment.