From ebf00b6834d729b55f4702c903ac262a7e2f7408 Mon Sep 17 00:00:00 2001 From: kagla Date: Thu, 9 Sep 2021 03:24:40 +0000 Subject: [PATCH] =?UTF-8?q?=EB=B0=B0=EB=84=88=EC=9D=98=20=EB=A7=81?= =?UTF-8?q?=ED=81=AC=EB=A5=BC=20=EC=9E=85=EB=A0=A5=ED=95=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EC=9C=BC=EB=A9=B4=20PHP8=EC=97=90=EC=84=9C=20Warning:?= =?UTF-8?q?=20Uninitialized=20string=20offset=200=20in=20...=20=EC=99=80?= =?UTF-8?q?=20=EA=B0=99=EC=9D=80=20=EC=98=A4=EB=A5=98=EA=B0=80=20=EB=82=98?= =?UTF-8?q?=EB=8A=94=EA=B2=83=EC=9D=84=20=EC=88=98=EC=A0=95=20(=EB=8B=A4?= =?UTF-8?q?=EC=98=A8=ED=85=8C=EB=A7=88=EB=8B=98,210908)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- skin/shop/basic/boxbanner.skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skin/shop/basic/boxbanner.skin.php b/skin/shop/basic/boxbanner.skin.php index d6bd9fd3e..03be8e7ac 100644 --- a/skin/shop/basic/boxbanner.skin.php +++ b/skin/shop/basic/boxbanner.skin.php @@ -23,7 +23,7 @@ for ($i=0; $row=sql_fetch_array($result); $i++) $banner = ''; $size = getimagesize($bimg); echo '
  • '.PHP_EOL; - if ($row['bn_url'][0] == '#') + if (preg_match("/^#/", $row['bn_url'])) $banner .= ''; else if ($row['bn_url'] && $row['bn_url'] != 'http://') { $banner .= '';