mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-01 16:11:20 +00:00
In 8.1 the regex handling is busted.
This commit is contained in:
parent
78b5df2e06
commit
9ff8efeb8b
@ -220,6 +220,7 @@ EOQ
|
|||||||
my $version = $current_version->fetchrow_arrayref();
|
my $version = $current_version->fetchrow_arrayref();
|
||||||
undef $current_version;
|
undef $current_version;
|
||||||
$dbh->disconnect;
|
$dbh->disconnect;
|
||||||
|
$version->[0] =~ s/\D+$//; # It seems the regex in SQL is broken in 8.1, at least on CentOS 5.3
|
||||||
return $version->[0];
|
return $version->[0];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user