PluginProbe
CSS & JavaScript Toolbox / 11.2
CSS & JavaScript Toolbox v11.2
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | framework/html/list.php +2 -2 6.011.2 View file →
@@ -93,9 +93,9 @@
93 93 $this->propText => htmlentities($this->optional),
94 94 '__params__' => (object) array('className' => 'optional')))+ $this->items;
95 95 }
96 96 // Build HTML select.
97 - $listName = ($this->options['standard'] == true) ? "name='{$this->name}'" : '';
97 + $listName = (isset($this->options['standard']) && ($this->options['standard'] == true)) ? "name='{$this->name}'" : '';
98 98 $list = "<select id='{$this->id}' {$listName} class='{$this->classesList}' {$this->moreIntoTag}>";
99 99 foreach ($this->items as $key => $item) {
100 100 // Standrize the use of object.
101 101 $item = (object) $item;
@@ -114,9 +114,9 @@
114 114 }
115 115 $list .= '</select>';
116 116 // If this is the first instance to be outputed for the current form output the control field.
117 117 $fieldKey = "{$this->form}-{$this->name}";
118 - if (!$this->options['standard'] && !in_array($fieldKey, self::$instances)) {
118 + if ((!isset($this->options['standard'])) && (!in_array($fieldKey, self::$instances))) {
119 119 // Output control fields.
120 120 $list .= "<input type='hidden' name='{$this->name}' value='{$this->value}' />";
121 121 // Mark form as instantiated!
122 122 self::$instances[] = $fieldKey;