diff options
author | marijus <mario@mariovavti.com> | 2014-03-04 14:52:12 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-03-04 14:52:12 +0100 |
commit | ffb791968e48b5699dc99fffccc562f198f86c5d (patch) | |
tree | 4b53eeae5f9236f76f6ba4baee00b0a08adafe50 /include/comanche.php | |
parent | 636a52d001be9bce66f5b2fd7313ffa6540a97e4 (diff) | |
parent | 5b33d98f0814a2fcb23ad78d2442ebecc85d4fb5 (diff) | |
download | volse-hubzilla-ffb791968e48b5699dc99fffccc562f198f86c5d.tar.gz volse-hubzilla-ffb791968e48b5699dc99fffccc562f198f86c5d.tar.bz2 volse-hubzilla-ffb791968e48b5699dc99fffccc562f198f86c5d.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'include/comanche.php')
-rw-r--r-- | include/comanche.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comanche.php b/include/comanche.php index 83e9af438..13146ded4 100644 --- a/include/comanche.php +++ b/include/comanche.php @@ -201,7 +201,7 @@ function comanche_region(&$a,$s) { $cnt = preg_match_all("/\[menu=(.*?)\](.*?)\[\/menu\]/ism", $s, $matches, PREG_SET_ORDER); if($cnt) { foreach($matches as $mtch) { - $s = str_replace($mtch[0],comanche_menu(trim($mtch[2]),$match[1]),$s); + $s = str_replace($mtch[0],comanche_menu(trim($mtch[2]),$mtch[1]),$s); } } $cnt = preg_match_all("/\[block\](.*?)\[\/block\]/ism", $s, $matches, PREG_SET_ORDER); |