From 7440bb9238379dbe3cc618548f81191fc786bc70 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 1 Jul 2009 22:02:03 -0400 Subject: [PATCH] various small fixes --- classes/PluginWonderful.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 '