diff options
Diffstat (limited to 'extensions/Review/Extension.pm')
-rw-r--r-- | extensions/Review/Extension.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Review/Extension.pm b/extensions/Review/Extension.pm index 16429ccdd..3f3383697 100644 --- a/extensions/Review/Extension.pm +++ b/extensions/Review/Extension.pm @@ -380,7 +380,7 @@ sub _check_review_flag { # extract the set flag-types my @flagtype_ids = map { /^flag_type-(\d+)$/ ? $1 : () } $cgi->param(); - @flagtype_ids = grep { $cgi->param("flag_type-$_") ne 'X' } @flagtype_ids; + @flagtype_ids = grep { $cgi->param("flag_type-$_") eq '?' } @flagtype_ids; return unless scalar(@flagtype_ids); # find valid review flagtypes @@ -656,7 +656,7 @@ sub db_schema_abstract_schema { }, attachment_id => { - TYPE => 'INT5', + TYPE => 'INT3', REFERENCES => { TABLE => 'attachments', COLUMN => 'attach_id', |