From: laury Date: Tue, 25 Nov 2014 21:06:34 +0000 (-0500) Subject: Error caused by remove_option instead of delete_option X-Git-Tag: v1.0.0~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=4f9ab3bf6993cf0f1a3be098d61a1b2a521760c5;p=WP-Plugins%2Fglm-client-info.git Error caused by remove_option instead of delete_option --- 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 --'; // {{{