Commits

Christoffer Niska  committed 35cc9a4

fixed a bug in the CmsBaseRenderer

  • Participants
  • Parent commits c4903a5

Comments (0)

Files changed (1)

File components/CmsBaseRenderer.php

 			$pairs[$matches[0][$index]] = $node instanceof CmsNode ? $node->renderWidget() : '';
 		}
 
-		if (!empty($nodes))
+		if (!empty($pairs))
 			$content = strtr($content, $pairs);
 
 		return $content;