The dest_url may have not been set by all account layout pages

This commit is contained in:
Alex Tselegidis 2021-12-14 08:05:49 +01:00
parent d1e79910a9
commit e8a1976521

View file

@ -61,7 +61,7 @@
const GlobalVariables = {
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
baseUrl: <?= json_encode($base_url) ?>,
destUrl: <?= json_encode($dest_url) ?>,e
destUrl: <?= json_encode($dest_url ?? '') ?>,
AJAX_SUCCESS: 'SUCCESS',
AJAX_FAILURE: 'FAILURE'
};