From 2839f279962e5f0cdacfffe192ff121f54899379 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Thu, 24 Sep 2009 23:37:05 -0400 Subject: [PATCH] fix initialization bug --- classes/WhatDidTheySayAdmin.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/WhatDidTheySayAdmin.inc b/classes/WhatDidTheySayAdmin.inc index 4c9561d..a09b79d 100644 --- a/classes/WhatDidTheySayAdmin.inc +++ b/classes/WhatDidTheySayAdmin.inc @@ -51,8 +51,7 @@ class WhatDidTheySayAdmin { $options = get_option('what-did-they-say-options'); if (!is_array($options)) { - $options = $this->default_options; - update_option('what-did-they-say-options', $options); + $this->install(); } add_action('admin_menu', array(&$this, 'admin_menu'));