diff options
author | Struan Donald <struan@exo.org.uk> | 2012-12-21 17:11:31 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-12-21 17:11:31 +0000 |
commit | 12a509230afb81a83e5cb2ebdf3d157cfa8e9794 (patch) | |
tree | f2fc8c16d6d10fab56605685a9af2511e1c71c5f | |
parent | ab7afc8736526e260894d09d5ee68ab91a644348 (diff) |
store service param if it is sent
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/New.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm index 7759bb938..31c184733 100644 --- a/perllib/FixMyStreet/App/Controller/Report/New.pm +++ b/perllib/FixMyStreet/App/Controller/Report/New.pm @@ -777,6 +777,7 @@ sub process_report : Private { 'may_show_name', # 'category', # 'partial', # + 'service', # ); # load the report @@ -801,6 +802,9 @@ sub process_report : Private { } $report->detail( $detail ); + # mobile device type + $report->service( $params{service} ) if $params{service}; + # set these straight from the params $report->category( _ $params{category} ) if $params{category}; |