From 069020cb80074ccbedc0b285437f8548a207f6b7 Mon Sep 17 00:00:00 2001 From: Neil Lathwood Date: Tue, 11 Apr 2017 07:04:25 +0100 Subject: [PATCH] updated rrdtool ver check to wrap quotes around (#6393) --- validate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate.php b/validate.php index 395cd95403..eb975a7088 100755 --- a/validate.php +++ b/validate.php @@ -335,7 +335,7 @@ foreach ($bins as $bin) { // Check that rrdtool config version is what we see if (isset($config['rrdtool_version']) && (version_compare($config['rrdtool_version'], $versions['rrdtool_ver'], '>'))) { - print_fail('The rrdtool version you have specified is newer than what is installed.', "Either comment out \$config['rrdtool_version'] = {$config['rrdtool_version']}; or set \$config['rrdtool_version'] = {$versions['rrdtool_ver']};"); + print_fail('The rrdtool version you have specified is newer than what is installed.', "Either comment out \$config['rrdtool_version'] = '{$config['rrdtool_version']}'; or set \$config['rrdtool_version'] = '{$versions['rrdtool_ver']}';"); } $disabled_functions = explode(',', ini_get('disable_functions'));