Skip to content

Commit

Permalink
Merge pull request #2880 from ec-europa/nept-2709-rr_hotfix
Browse files Browse the repository at this point in the history
NEPT-2709: Fix undefined function current_path in registry rebuild
  • Loading branch information
Fefaine authored Mar 9, 2020
2 parents 80b0232 + cfefe20 commit 7d5deeb
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 7d5deeb

Please sign in to comment.