From 46a5544b52ef3c91b5ff4f16d008354f73362c6b Mon Sep 17 00:00:00 2001 From: misol Date: Wed, 18 Mar 2009 12:53:22 +0000 Subject: [PATCH] re-refix git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5910 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/components/naver_map/naver_map.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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');