diff --git a/public_html/inc/parserutils.php b/public_html/inc/parserutils.php index d17580ed..1231b26d 100644 --- a/public_html/inc/parserutils.php +++ b/public_html/inc/parserutils.php @@ -153,6 +153,8 @@ function p_cached_instructions($file,$cacheonly=false,$id='') { if(is_null($run)) $run = array(); $cache = new cache_instructions($id, $file); + if (!$cache->useCache()) + return p_get_instructions(io_readWikiPage($file,$id)); if ($cacheonly || $cache->useCache() || (isset($run[$file]) && !defined('DOKU_UNITTEST'))) { return $cache->retrieveCache();