fix initialization bug

This commit is contained in:
John Bintz 2009-09-24 23:37:05 -04:00
parent 83028e2c18
commit 2839f27996

View File

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