Bugzilla::Bug code style

master
Vitaliy Filippov 2014-03-27 16:09:23 +04:00
parent 04270e5922
commit 1a79246fed
3 changed files with 464 additions and 353 deletions

File diff suppressed because it is too large Load Diff

View File

@ -132,6 +132,7 @@ sub BUG_STATE_OPEN {
}
# Tells you whether or not the argument is a valid "open" state.
# FIXME Remove is_open_state
sub is_open_state {
my ($state) = @_;
return (grep($_ eq $state, BUG_STATE_OPEN) ? 1 : 0);

View File

@ -44,7 +44,7 @@ function initControlledField(i)
{
if (!vals[value_id][control_id])
{
continue;
continue;
}
if (vals[value_id][control_id].is_default == 1)
{