From d49c08e222c9f6db79cadd2f5a9b470eeb934b29 Mon Sep 17 00:00:00 2001 From: Mike Cochrane Date: Sat, 26 Feb 2011 17:38:49 +1300 Subject: [PATCH] Fix syntax error in install script --- plugins/ccnzgeocode/libraries/ccnzgeocode_install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ccnzgeocode/libraries/ccnzgeocode_install.php b/plugins/ccnzgeocode/libraries/ccnzgeocode_install.php index cf1bc2da8a..e7ffd6dae2 100644 --- a/plugins/ccnzgeocode/libraries/ccnzgeocode_install.php +++ b/plugins/ccnzgeocode/libraries/ccnzgeocode_install.php @@ -26,8 +26,8 @@ public function run_install() $this->db->query('CREATE TABLE IF NOT EXISTS `' . Kohana::config('database.default.table_prefix') . 'ccnzgeocode_cache` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `address` varchar(255) DEFAULT NULL, - `lat` double NOT NULL DEFAULT '0', - `lon` double NOT NULL DEFAULT '0', + `lat` double NOT NULL DEFAULT "0", + `lon` double NOT NULL DEFAULT "0", PRIMARY KEY (`id`), UNIQUE KEY `address` (`address`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1');