Skip to content

Commit

Permalink
Merge pull request #2882 from ec-europa/release-2.5.146.1
Browse files Browse the repository at this point in the history
Release 2.5.146.1
  • Loading branch information
Fefaine authored Mar 9, 2020
2 parents 80b0232 + 7d5deeb commit 75ad4b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ function cce_basic_config_js_alter(&$javascript) {
function cce_basic_config_query_alter(QueryAlterableInterface $query) {
global $user;

if ($user->uid == 1) {
if ($user->uid == 1 || !function_exists('current_path')) {
return;
}

Expand Down

0 comments on commit 75ad4b3

Please sign in to comment.