[dw-free] Editing profile page doesn't print out errors
[commit: http://hg.dwscoalition.org/dw-free/rev/ef89676071eb]
http://bugs.dwscoalition.org/show_bug.cgi?id=590
Fix printing of errors on manage/profile saving.
Patch by
afuna.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=590
Fix printing of errors on manage/profile saving.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/manage/profile/index.bml
-------------------------------------------------------------------------------- diff -r 602eb346a3ba -r ef89676071eb htdocs/manage/profile/index.bml --- a/htdocs/manage/profile/index.bml Tue Mar 31 04:41:06 2009 +0000 +++ b/htdocs/manage/profile/index.bml Tue Mar 31 04:43:49 2009 +0000 @@ -580,7 +580,7 @@ body<= my $save_search_index = $POST{'opt_showlocation'} =~ /^[YR]$/; LJ::Widget->handle_post(\%POST, 'Location' => {save_search_index => $save_search_index}); - return $print_with_ad->('') if @errors; + return LJ::error_list( @errors ) if @errors; ### no errors --------------------------------------------------------------------------------