aboutsummaryrefslogtreecommitdiffstats
path: root/include/comanche.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-01-14 20:51:59 -0800
committerredmatrix <git@macgirvin.com>2016-01-14 20:51:59 -0800
commitf888548e0e722933e5b03b49fd5e19dd6e55743e (patch)
tree7f3bd1471595f2e96a574c542712aea84e5f70c7 /include/comanche.php
parent6ff192c4ead307b65df793a138f9c1e18de81e5f (diff)
downloadvolse-hubzilla-f888548e0e722933e5b03b49fd5e19dd6e55743e.tar.gz
volse-hubzilla-f888548e0e722933e5b03b49fd5e19dd6e55743e.tar.bz2
volse-hubzilla-f888548e0e722933e5b03b49fd5e19dd6e55743e.zip
issue with plugin loadable layouts
Diffstat (limited to 'include/comanche.php')
-rw-r--r--include/comanche.php1
1 files changed, 1 insertions, 0 deletions
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) {