diff --git a/classes/PluginWonderful.php b/classes/PluginWonderful.php index 5c63a8d..ba60a4a 100644 --- a/classes/PluginWonderful.php +++ b/classes/PluginWonderful.php @@ -186,7 +186,7 @@ class PluginWonderful { echo ''; echo ''; } else { - var_dump($view); + var_dump($view); // ignore var_dump } } @@ -365,6 +365,7 @@ class PluginWonderful { echo '

'; echo 'Select an adbox:
'; foreach ($this->publisher_info->adboxes as $box) { + if (empty($instance['adboxid'])) { $instance['adboxid'] = $box->adboxid; } echo '