diff --git a/modules/editor/components/naver_map/naver_map.class.php b/modules/editor/components/naver_map/naver_map.class.php index ea7013c8c..0bee091c0 100644 --- a/modules/editor/components/naver_map/naver_map.class.php +++ b/modules/editor/components/naver_map/naver_map.class.php @@ -117,7 +117,7 @@ if(!$height) $height = 400; $body_code = sprintf('
', $width, $height, Context::getRequestUri(), $width, $height, $x, $y, $zoom, $marker, $width, $height); - return $zoom; + return $body_code; } function displayMap() { @@ -140,7 +140,7 @@ settype($y,"int"); $zoom = Context::get('zoom'); - if(!is_int($zoom)) $zoom = 3; + if($zoom == '') $zoom = 3; settype($zoom,"int"); $marker = Context::get('marker');