From 2433439a45281cf277a3ccb6bb422217bfdc0363 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Fri, 9 Dec 2022 22:37:00 +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 fb2bd094..cf7975b5 100644 --- a/share/views/ajax/statistics.tt +++ b/share/views/ajax/statistics.tt @@ -58,7 +58,7 @@ PostgreSQL - [% '' IF stats.pg_ver < 9.6 %][% stats.pg_ver | html_entity %][% '' IF stats.pg_ver < 9.6 %] + [% '' IF stats.pg_ver.remove('\.+') < 9.6 %][% stats.pg_ver | html_entity %][% '' IF stats.pg_ver.remove('\.+') < 9.6 %] Perl