Skip to content

Commit

Permalink
Update templates.raw.php
Browse files Browse the repository at this point in the history
There is a duplicated '&& &&' just remove '&&'.

This is breaking all modules.
  • Loading branch information
Ignacio Correia committed Apr 27, 2015
1 parent 193907e commit c63ca99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/controllers/templates.raw.php
Expand Up @@ -130,7 +130,7 @@ function getlayoutparams()
echo "not supported extension/view: ".$ext_view;
return;
}
if ($ext_option!='com_flexicontent' && $ext_option!='com_modules' && $ext_option!='com_advancedmodules' && && $ext_option!='com_menus') {
if ($ext_option!='com_flexicontent' && $ext_option!='com_modules' && $ext_option!='com_advancedmodules' && $ext_option!='com_menus') {
echo '<div class="alert alert-warning" style="margin:16px 0 -24px 0">You are editing module via extension: <span class="label label-warning">'.$ext_option.'</span><br/> - If extension does not call Joomla event <span class="label label-warning">onExtensionBeforeSave</span> then custom layout parameters may not be saved</div>';
}

Expand Down Expand Up @@ -361,4 +361,4 @@ function savelayoutfile()
$var['content'] = file_get_contents($file_path);
echo json_encode($var);
}
}
}

0 comments on commit c63ca99

Please sign in to comment.