Update version_compare function; fix syntax-error in bind-config generation, thx to monumentum

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-04-19 13:55:38 +02:00
parent 1ae7876e44
commit 7adc2dd35c
4 changed files with 94 additions and 112 deletions

View File

@@ -110,7 +110,7 @@ if($page == 'overview')
$lookfornewversion_link = $_link;
$lookfornewversion_addinfo = $_message;
if (version_compare($version, $_version) == -1) {
if (version_compare2($version, $_version) == -1) {
$isnewerversion = 1;
} else {
$isnewerversion = 0;