From c3cfa91f3d95f153f6c93dcff421532b9a76b1a7 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Mon, 18 Apr 2011 21:00:08 -0400 Subject: [PATCH] pulldown options can be disabled --- encode.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/encode.php b/encode.php index 2dbf756..7afae37 100644 --- a/encode.php +++ b/encode.php @@ -343,12 +343,14 @@ function encode_options($selected, $options, $keys_from) { } $out = ''; - foreach($options as $valdisp) { - list($value, $display) = $valdisp; + foreach($options as $option) { + list($value, $display, $arg3) = $option; $out .= '