Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
#1089 F: Cached and nested snippets not working
Browse files Browse the repository at this point in the history
always should be expand [!no-cache!] In the snippet call
  • Loading branch information
yama committed Dec 10, 2016
1 parent ae04d3f commit 7eaea30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manager/includes/document.parser.class.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1508,6 +1508,7 @@ function getParamsFromString($string='')
{
if(strpos($key,'amp;')!==false) $key = str_replace('amp;', '', $key);
$key=trim($key);
if(strpos($value,'[!')!==false) $value = str_replace(array('[!','!]'), array('[[',']]'), $value);
if(substr($value,0,6)!=='@CODE:')
{
if(strpos($value,'[*')!==false) $value = $this->mergeDocumentContent($value);
Expand Down

0 comments on commit 7eaea30

Please sign in to comment.