From f888548e0e722933e5b03b49fd5e19dd6e55743e Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 14 Jan 2016 20:51:59 -0800 Subject: issue with plugin loadable layouts --- include/comanche.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/comanche.php') diff --git a/include/comanche.php b/include/comanche.php index ca3ad336b..ddf331321 100644 --- a/include/comanche.php +++ b/include/comanche.php @@ -275,6 +275,7 @@ function comanche_widget($name, $text) { $vars = array(); $matches = array(); + $cnt = preg_match_all("/\[var=(.*?)\](.*?)\[\/var\]/ism", $text, $matches, PREG_SET_ORDER); if ($cnt) { foreach ($matches as $mtch) { -- cgit v1.2.3