diff --git a/classes/PluginWonderful.php b/classes/PluginWonderful.php index 5c63a8d..3ec8354 100644 --- a/classes/PluginWonderful.php +++ b/classes/PluginWonderful.php @@ -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 '