This commit is contained in:
Jean-Christian Denis 2022-12-17 17:39:16 +01:00
parent 1da5fe9674
commit b4adc18d6d
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
2 changed files with 2 additions and 2 deletions

View file

@ -270,7 +270,7 @@ class urlSaba extends dcUrlHandlers
# Serve saba
$tplset = dcCore::app()->themes->moduleInfo(dcCore::app()->blog->settings->system->theme, 'tplset');
self::serveDocument('saba_404_' . (!empty($tplset) && in_array($tplset, ['dotty', 'mustek']) ? $tplset : 'default') . '.html');
self::serveDocument('saba_404_' . (!empty($tplset) && in_array($tplset, ['dotty', 'mustek']) ? $tplset : 'default') . '.html');
return true;
}

View file

@ -86,7 +86,7 @@ class sabaWidget
}
$saba_options = dcCore::app()->ctx->saba_options ?? tplSaba::getSabaDefaultPostsOptions();
$res = '';
$res = '';
# advenced search only on search page
if (dcCore::app()->url->type == 'search') {