diff options
author | Struan Donald <struan@fury.ukcod.org.uk> | 2011-06-08 15:21:52 +0100 |
---|---|---|
committer | Struan Donald <struan@fury.ukcod.org.uk> | 2011-06-08 15:21:52 +0100 |
commit | 3d7669eb42d6eb6584da5f57b46aac7a1826e498 (patch) | |
tree | a42a0aec22cf45885c74926009c4d1bcaf5be071 /perllib/FixMyStreet/App/Controller/Contact.pm | |
parent | 636f8ac863d45d4db56543313b4fac01703ff713 (diff) | |
parent | 500190d03fcbfd8993f46b61bca9e12a7339dbc2 (diff) |
Merge branch 'migrate_to_catalyst' of ssh://struan@git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Contact.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Contact.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Contact.pm b/perllib/FixMyStreet/App/Controller/Contact.pm index c74597f3b..bd7d415e7 100644 --- a/perllib/FixMyStreet/App/Controller/Contact.pm +++ b/perllib/FixMyStreet/App/Controller/Contact.pm @@ -63,7 +63,7 @@ sub determine_contact_type : Private { $update_id = undef unless $update_id && $update_id =~ /^[1-9]\d*$/; if ($id) { - my $problem = $c->model('DB::Problem')->find( + my $problem = $c->cobrand->problems->find( { id => $id }, { 'select' => [ |