[dreamwidth/dw-free] 617409: The previous change to error_ml dropped any messag...
Branch: refs/heads/release-1.35
Home: https://github.com/dreamwidth/dw-free
Commit: 617409d0b0e5a830f9dd8befb4f9a0f08aa936cb
https://github.com/dreamwidth/dw-free/commit/617409d0b0e5a830f9dd8befb4f9a0f08aa936cb
Author: Jen <kareila@dreamwidth.org>
Date: 2019-05-25 (Sat, 25 May 2019)
Changed paths:
M cgi-bin/DW/Controller.pm
M cgi-bin/DW/Controller/Customize/Advanced.pm
Log Message:
-----------
The previous change to error_ml dropped any message arguments for LJ::Lang::ml (#2440)
on the floor, because the expected inputs weren't well documented.
This changes error_ml to accept an input format similar to success_ml, where
the message arguments are in the first hashref, and any page variables are
in a subsequent hashref.
The two places where page variables had begun being passed into error_ml are
updated to pass in undef for the message arguments, so everything should line
up correctly.
Fixes #2430.
Home: https://github.com/dreamwidth/dw-free
Commit: 617409d0b0e5a830f9dd8befb4f9a0f08aa936cb
https://github.com/dreamwidth/dw-free/commit/617409d0b0e5a830f9dd8befb4f9a0f08aa936cb
Author: Jen <kareila@dreamwidth.org>
Date: 2019-05-25 (Sat, 25 May 2019)
Changed paths:
M cgi-bin/DW/Controller.pm
M cgi-bin/DW/Controller/Customize/Advanced.pm
Log Message:
-----------
The previous change to error_ml dropped any message arguments for LJ::Lang::ml (#2440)
on the floor, because the expected inputs weren't well documented.
This changes error_ml to accept an input format similar to success_ml, where
the message arguments are in the first hashref, and any page variables are
in a subsequent hashref.
The two places where page variables had begun being passed into error_ml are
updated to pass in undef for the message arguments, so everything should line
up correctly.
Fixes #2430.
