From d16324685ac04b8c06f19285ae8db9e1ab1c7f96 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 3 Mar 2014 15:21:43 -0800 Subject: implement horizontal menu class in redbasic --- include/comanche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/comanche.php') 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); -- cgit v1.2.3