Project

General

Profile

« Previous | Next » 

Revision 2512e643

Added by Jim Pingle over 9 years ago

Fix field description/name display of select_source package fields.

View differences:

src/usr/local/www/pkg_edit.php
870 870
			if($grouping) {
871 871
				$group->add(new Form_Select(
872 872
					$pkga['fieldname'],
873
					$pkga['name'],
873
					strip_tags($pkga['fielddescr']),
874 874
					isset($pkga['multiple']) ? $srcselected:$srcselected[0],
875 875
					$srcoptions,
876 876
					isset($pkga['multiple'])
......
879 879
				if (isset($pkga['advancedfield']) && isset($advfield_count)) {
880 880
					$advanced->addInput(new Form_Select(
881 881
						$pkga['fieldname'],
882
						$pkga['name'],
882
						strip_tags($pkga['fielddescr']),
883 883
						isset($pkga['multiple']) ? $srcselected:$srcselected[0],
884 884
						$srcoptions,
885 885
						isset($pkga['multiple'])
......
887 887
				} else {
888 888
					$section->addInput(new Form_Select(
889 889
						$pkga['fieldname'],
890
						$pkga['name'],
890
						strip_tags($pkga['fielddescr']),
891 891
						isset($pkga['multiple']) ? $srcselected:$srcselected[0],
892 892
						$srcoptions,
893 893
						isset($pkga['multiple'])

Also available in: Unified diff