Permalink
Browse files

Joomla: Fixed PHP 7.2 issue in admin

  • Loading branch information...
mahagr committed Dec 4, 2017
1 parent 55acf38 commit 871ba28a046f55c90eb26fca4a6de0285d99a045
Showing with 6 additions and 3 deletions.
  1. +4 −1 CHANGELOG.md
  2. +2 −2 platforms/joomla/plg_system_gantry5/gantry5.php
View
@@ -3,11 +3,14 @@
1. [Common](#common)
1. [](#improved)
- Remove deprecated `Twig_Extension` function
- Remove a deprecated `Twig_Extension` function
1. [](#bugfix)
- Fixed PHP 7.2 issues when compiling SCSS
- Fixed PHP 7.2 issue when using older layout format
- Parts of inherited layouts break randomly in Layout Manager causing layout corruption if saved (#1460)
1. [Joomla](#joomla)
1. [](#bugfix)
- Fixed PHP 7.2 issue in admin
1. [WordPress](#wordpress)
1. [](#new)
- Helium/Hydrogen: you can now disable Content display in Blog and Archive-type views
@@ -277,8 +277,8 @@ private function onAfterRouteAdmin()
}
// Special handling for tasks coming from com_template.
if ($task == 'style.edit') {
$item = each($selected);
if ($task === 'style.edit') {
$item = reset($selected);
$id = $item['key'];
$theme = $item['value'];
$token = JSession::getFormToken();

0 comments on commit 871ba28

Please sign in to comment.