aboutsummaryrefslogtreecommitdiffstats
path: root/include/comanche.php
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2016-01-16 13:44:23 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2016-01-16 13:44:23 +0100
commit983e170f20cfafadab7fb74bf5ca5b56e54205db (patch)
tree25b39449dcbf0636b5519c3beac2ec70b04510c1 /include/comanche.php
parent72353bf0446901f1711cba7a2e50dbce9bd06227 (diff)
parentf66c6bfebfd48274c9b29cd62b1fac933c6530e4 (diff)
downloadvolse-hubzilla-983e170f20cfafadab7fb74bf5ca5b56e54205db.tar.gz
volse-hubzilla-983e170f20cfafadab7fb74bf5ca5b56e54205db.tar.bz2
volse-hubzilla-983e170f20cfafadab7fb74bf5ca5b56e54205db.zip
Merge remote-tracking branch 'upstream/master'
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) {