From aa566989a3cf13ffbd63274545e943aa24371b26 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Mon, 6 Jan 2014 20:59:19 -0500 Subject: [PATCH] missing } --- simple-location.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/simple-location.php b/simple-location.php index 7b33f84..14d318b 100644 --- a/simple-location.php +++ b/simple-location.php @@ -36,8 +36,7 @@ function simple_location_post_save($post_id) { $ipLite = new ip2location_lite; $ipLite->setKey($key); $locations = $ipLite->getCity($_SERVER['REMOTE_ADDR']); - print 'locations: '; - print_r($locations); + } } if ($_POST['city'] == '') { $_POST['city'] = $locations['cityName'];