ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=4253b51b591500142c1eaef5458629b0fd43a2d8

commit 4253b51b591500142c1eaef5458629b0fd43a2d8
Author: Andy Williams <[email protected]>
Date:   Wed Nov 29 09:27:40 2017 +0000

    WIKI BUGFIX - don't use the cache if useCache says not to
    
    This may not be the root cause but it fixes things in the meantime
---
 public_html/inc/parserutils.php | 2 ++
 1 file changed, 2 insertions(+)

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();

-- 


Reply via email to