From 63143a1a576b9707dfc997038a5aaf804d5f8d8e Mon Sep 17 00:00:00 2001 From: Nathan Guse Date: Mon, 24 Jun 2013 12:52:55 -0500 Subject: [PATCH] [feature/twig] Fix works correctly + // (only for the base loops, the rest are properly handled by the begin node) + foreach ($this->context->get_tpldata() as $block_name => $block_values) + { + $vars[$block_name] = !empty($block_values); + } + // cleanup unset($vars['_phpbb_blocks']['.']);