From 93bf427f059fd2534ea839d8ec660dd6e9fad8a7 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sat, 10 Dec 2022 14:58:24 +0000 Subject: [PATCH] show PostgreSQL version in red if < 9.6 --- share/views/ajax/statistics.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/views/ajax/statistics.tt b/share/views/ajax/statistics.tt index cf7975b5..819a99c6 100644 --- a/share/views/ajax/statistics.tt +++ b/share/views/ajax/statistics.tt @@ -58,7 +58,7 @@ PostgreSQL - [% '' IF stats.pg_ver.remove('\.+') < 9.6 %][% stats.pg_ver | html_entity %][% '' IF stats.pg_ver.remove('\.+') < 9.6 %] + [% '' IF stats.pg_ver.remove('\.\d+') < 9.6 %][% stats.pg_ver | html_entity %][% '' IF stats.pg_ver.remove('\.\d+') < 9.6 %] Perl