- fix: bug in EMS purge

- fix: bug in poll where you can't edit it to have less answers
This commit is contained in:
JT Smith 2007-08-16 21:03:53 +00:00
parent c1b95c7a62
commit 5167b279f5
5 changed files with 37 additions and 26 deletions

View file

@ -440,6 +440,23 @@ sub getValueFromPost {
}
}
#-------------------------------------------------------------------
=head2 isProfileEnabled ( session )
A class method. Returns a 1 if this control can be used by the profiling system. In general that means that the
field is safe for dynamic generation.
=cut
sub isProfileEnabled {
my $class = shift;
my $session = shift;
return $class->definition($session)->[0]{profileEnabled};
}
#-------------------------------------------------------------------
=head2 new ( session, parameters )