1. NordLabs
  2. NordCms

Commits

Christoffer Niska  committed 35cc9a4

fixed a bug in the CmsBaseRenderer

  • Participants
  • Parent commits c4903a5
  • Branches default

Comments (0)

Files changed (1)

File components/CmsBaseRenderer.php

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