From 31c7bf53483c878c34a65cdadb171e74caebb97b Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 12 Sep 2018 01:16:17 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=EB=89=B4=20=EC=95=84=EC=9D=B4?= =?UTF-8?q?=ED=85=9C=20=EA=B8=B8=EC=9D=B4=20=EB=B2=84=EA=B7=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sammo/WebUtil.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sammo/WebUtil.php b/src/sammo/WebUtil.php index d403061e..9c2b9fab 100644 --- a/src/sammo/WebUtil.php +++ b/src/sammo/WebUtil.php @@ -141,7 +141,7 @@ class WebUtil $result = []; foreach($json as $menuItem){ - if (count($path) == 2) { + if (count($menuItem) == 2) { [$url, $title] = $menuItem; $targetAttr = ''; }