Skip to content

Commit

Permalink
Merge pull request #4148 from mbab/hfixes
Browse files Browse the repository at this point in the history
code: fixes
  • Loading branch information
APMarcello3 authored Oct 29, 2024
2 parents d2f75d3 + 2ff7292 commit 3be38ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/cgi-bin/horas/horascommon.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ sub precedence {
our $datafolder;

# set global date
our ($date1) = shift || strictparam('date');
our ($date1) = shift || strictparam('date') || strictparam('date1');
if (!$date1 || $votive =~ /hodie/) { $date1 = gettoday(); }
$date1 =~ s/\//\-/g;
($month, $day, $year) = split('-', $date1);
Expand Down
2 changes: 1 addition & 1 deletion web/cgi-bin/horas/specmatins.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ sub lectio : ScriptFunc {
my $item = translate('Lectio', $lang);
$item .= " %s" unless ($item =~ /%s/);
$w = "_\n" . setfont($largefont, sprintf($item, $num)) . "\n$w";
my @w = split("\n", $w);
my @w = split("\n+", $w);
$w = "";

my $initial = $nonumbers;
Expand Down

0 comments on commit 3be38ba

Please sign in to comment.