summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/local/www/pkg_edit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php
index 30b7911..3241157 100644
--- a/src/usr/local/www/pkg_edit.php
+++ b/src/usr/local/www/pkg_edit.php
@@ -568,6 +568,7 @@ if ($pkg['tabs'] <> "") {
// if user is editing a record, load in the data.
$fieldname = $pkga['fieldname'];
+ unset($value);
if ($get_from_post) {
$value = $_POST[$fieldname];
if (is_array($value)) {
OpenPOWER on IntegriCloud