fixed: Thingy: thing view screen always displays all fields

This commit is contained in:
Yung Han Khoe 2008-04-22 19:46:36 +00:00
parent 837fde209c
commit 48569a5e00
2 changed files with 2 additions and 0 deletions

View file

@ -2535,6 +2535,7 @@ thingId=".$self->session->db->quote($thingId));
.$session->db->quote($self->get("assetId")).' and thingId = '.$session->db->quote($thingId).' order by
sequenceNumber');
while (my %field = $fields->hash) {
next unless ($field{display} eq '1');
my $hidden = ($field{status} eq "hidden" && !$self->session->var->get("adminOn"));
my $originalValue = $thingData{"field_".$field{fieldId}};