http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14382

--- Comment #15 from M. Tompsett <mtomp...@hotmail.com> ---
Comment on attachment 40611
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40611
Bug 14382: Non-ISO Date parameters generate empty reports.

Review of attachment 40611:
 --> 
(http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=14382&attachment=40611)
-----------------------------------------------------------------

::: reports/guided_reports.pl
@@ +755,4 @@
>                  # if there are special regexp chars, we must \ them
>                  $split[$i*2+1] =~ s/(\||\?|\.|\*|\(|\)|\%)/\\$1/g;
> +                if ($split[$i*2+1] =~ /|date>>/) {
> +                    $quoted = substr(dt_from_string($quoted),0,10);

I blame Amit Gupta for showing me this mistake.
output_pref({ dt => (dt_from_string() + $days), dateformat => 'iso', dateonly
=> 1 });
I should have used output_pref!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to