From fd51b3333a67f4d4801e263ecc150d7876282fb6 Mon Sep 17 00:00:00 2001 From: Jash Date: Sun, 22 Nov 2026 00:17:28 +0530 Subject: [PATCH] fix: verNum pads each version field to four digits so 1.39.100 sorts before 1.40.0 refs #7229 --- tests/php/test_vernum_three_digit.php | 44 +++++++++++++++++++++++++++ web/includes/functions.php | 5 +-- 2 files changed, 45 insertions(+), 4 deletions(-) create mode 100644 tests/php/test_vernum_three_digit.php diff --git a/tests/php/test_vernum_three_digit.php b/tests/php/test_vernum_three_digit.php new file mode 100644 index 0000000000..c809f609d5 --- /dev/null +++ b/tests/php/test_vernum_three_digit.php @@ -0,0 +1,44 @@ +