X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilters.php;h=634d0f1c00a306d515f5a03686b77aadcdf17b99;hp=fca3cf439ab5f9eae1a5ade4ce46b89aa2d39784;hb=6560179e7c8dc565485503f374d4e31f333ffd0e;hpb=fe8175c95f44881a9edefc264e42fea350f7387b diff --git a/inc/filters.php b/inc/filters.php index fca3cf439a..634d0f1c00 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -993,10 +993,12 @@ function FILTER_FLUSH_TEMPLATE_CACHE () { // Is there cached eval() data? if ((isset($GLOBALS['template_eval'])) && (count($GLOBALS['template_eval']) > 0)) { // Now flush all - foreach ($GLOBALS['template_eval'] as $template => $eval) { - // Flush the cache (if not yet found) - flushTemplateCache($template, $eval); - } // END - if + foreach ($GLOBALS['template_eval'] as $prefix => $templateArray) { + foreach ($templateArray as $template => $eval) { + // Flush the cache (if not yet found) + flushTemplateCache($prefix, $template, $eval); + } // END - foreach + } // END - foreach } // END - if }