diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-16 16:46:21 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-16 16:46:21 +0100 |
commit | 0f232284cd42dcea741ce1131151cefaf2e9e150 (patch) | |
tree | a132488d68613c5759b4dfa5b75271b43876803b /perllib/FixMyStreet/App/Controller/Report.pm | |
parent | c35ef08e4f6f51874d1ce46dce3b4895dca6fe54 (diff) | |
parent | 08d17efdfe76958fa1e74bfe4aac58a000925ee0 (diff) |
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet into new_statuses
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report.pm b/perllib/FixMyStreet/App/Controller/Report.pm index 497ec784a..f732b94f1 100644 --- a/perllib/FixMyStreet/App/Controller/Report.pm +++ b/perllib/FixMyStreet/App/Controller/Report.pm @@ -66,7 +66,7 @@ sub load_problem_or_display_error : Private { : $c->cobrand->problems->find( { id => $id } ); # check that the problem is suitable to show. - if ( !$problem || $problem->state eq 'unconfirmed' ) { + if ( !$problem || $problem->state eq 'unconfirmed' || $problem->state eq 'partial' ) { $c->detach( '/page_error_404_not_found', [ _('Unknown problem ID') ] ); } elsif ( $problem->state eq 'hidden' ) { |