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');