summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-25 02:53:37 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-25 02:53:37 +0000
commit41fd0445840bdd37d7be019eab800bfc331ef812 (patch)
tree9dda73b91f0eeefb8a87f8e00016d13ae65dab03 /usr
parent32487e426c3b2c4d6f171357e7416bd0b4454618 (diff)
downloadpfsense-41fd0445840bdd37d7be019eab800bfc331ef812.zip
pfsense-41fd0445840bdd37d7be019eab800bfc331ef812.tar.gz
Ignore listtopic fields
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/pkg_edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php
index 17b25bd..a88c25f 100755
--- a/usr/local/www/pkg_edit.php
+++ b/usr/local/www/pkg_edit.php
@@ -145,6 +145,8 @@ if ($_POST) {
if (!$input_errors) {
$pkgarr = array();
foreach ($pkg['fields']['field'] as $fields) {
+ if($fields['type'] == "listtopic")
+ continue;
if($fields['type'] == "rowhelper") {
// save rowhelper items.
for($x=0; $x<99; $x++) { // XXX: this really should be passed from the form.
OpenPOWER on IntegriCloud