From 4f9ab3bf6993cf0f1a3be098d61a1b2a521760c5 Mon Sep 17 00:00:00 2001 From: laury Date: Tue, 25 Nov 2014 16:06:34 -0500 Subject: [PATCH] Error caused by remove_option instead of delete_option --- controllers/Admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/Admin.php b/controllers/Admin.php index 0ca5b9b..9e610ce 100644 --- a/controllers/Admin.php +++ b/controllers/Admin.php @@ -80,7 +80,7 @@ class Glmclientinfo_Admin_Controller { //echo 'called glm_add_state_list_option'; if (get_option(GLM_CLEINTINFO_STATES)) { - remove_option(GLM_CLEINTINFO_STATES); + delete_option(GLM_CLEINTINFO_STATES); } // [status_US] array of states and their abbr. $states_US[''] = '-- Select --'; // {{{ -- 2.17.1