getting a warning error while trying to export the theme.

This commit is contained in:
Amit sharma
2026-01-30 12:25:46 +05:30
parent a27e55c049
commit 1dd94715e7

View File

@@ -1206,7 +1206,9 @@ class AdminThemesControllerCore extends AdminController
');
foreach ($hook_list as &$row) {
$row['exceptions'] = trim(preg_replace('/(,,+)/', ',', $row['exceptions']), ',');
if($row['exceptions']){
$row['exceptions'] = trim(preg_replace('/(,,+)/', ',', $row['exceptions']), ',');
}
}
$native_modules = $this->getNativeModule();