aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/User.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-07-31 12:01:27 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-07-31 12:21:33 +0100
commit87543f78383eaab0d78d0fadc1655e39f9335517 (patch)
tree3b652a2bbd1c08118cd0ae06ba93de252f490abc /perllib/FixMyStreet/DB/Result/User.pm
parent939c6d6de069654fcbcb82722de5d71fd8cb1622 (diff)
Move Latin-char-specific name check to cobrand.
Also move some UK-specific code in the same function. The specific code is still tested in report_new.t.
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/User.pm')
-rw-r--r--perllib/FixMyStreet/DB/Result/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/DB/Result/User.pm b/perllib/FixMyStreet/DB/Result/User.pm
index 6a93f97ec..f08b666c8 100644
--- a/perllib/FixMyStreet/DB/Result/User.pm
+++ b/perllib/FixMyStreet/DB/Result/User.pm
@@ -100,7 +100,7 @@ use mySociety::EmailUtil;
=head2 check_for_errors
- $error_hashref = $problem->check_for_errors();
+ $error_hashref = $user->check_for_errors();
Look at all the fields and return a hashref with all errors found, keyed on the
field name. This is intended to be passed back to the form to display the