Error caused by remove_option instead of delete_option
authorlaury <laury@gaslightmedia.com>
Tue, 25 Nov 2014 21:06:34 +0000 (16:06 -0500)
committerlaury <laury@gaslightmedia.com>
Tue, 25 Nov 2014 21:06:34 +0000 (16:06 -0500)
controllers/Admin.php

index 0ca5b9b..9e610ce 100644 (file)
@@ -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 --'; // {{{