getting a warning error while trying to export the theme.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user