From 6fb2ff219ed68b56bcb4cde1e97c8512cbeefb4a Mon Sep 17 00:00:00 2001 From: AlexSheer Date: Sat, 13 Jan 2018 18:30:59 +0200 Subject: [PATCH] Update functions.php --- includes/functions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 99db588..a501448 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -550,9 +550,10 @@ function perform_unauthed_quick_tasks($action, $submit = false) exit_handler(); break; default: - if ($config['version'] > '3.1.11') + $vers = explode('.', $config['version']); + if ($vers[1] > 1) { - trigger_error(user_lang('STK_INCOMPATIBLE')); + trigger_error(sprintf(user_lang('STK_INCOMPATIBLE'), $config['version']), E_USER_WARNING); } break; }