Skip to content

Commit

Permalink
[BUGFIX] Fixed the undefined array key "purge" error in config.
Browse files Browse the repository at this point in the history
  • Loading branch information
litespeedtech committed Oct 3, 2023
1 parent f2c0af3 commit 20005ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ protected function _initConf( $type = '' )
$this->_conf[self::CFG_PURGE_PROD_AFTER_ORDER] = $purge_prod;


$this->load_conf_field_array(self::CFG_IGNORED_PURGE_TAGS, $lm['purge']);
$this->load_conf_field_array(self::CFG_IGNORED_PURGE_TAGS, $lm['purge'] ?? []);

$this->_conf[self::CFG_CUSTOMVARY] = $lm['general'][self::CFG_CUSTOMVARY] ?? 0;
$this->_esiTag = array('include' => 'esi:include', 'inline' => 'esi:inline', 'remove' => 'esi:remove');
Expand Down

0 comments on commit 20005ef

Please sign in to comment.