migrate updateFunctions to PDO and fix version_compare2

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-11-08 08:48:13 +01:00
parent 26d9aa570c
commit fb8b233560
2 changed files with 64 additions and 67 deletions

View File

@@ -26,8 +26,8 @@
function version_compare2($a, $b) {
// split version into pieces and remove trailing .0
$a = explode(".", rtrim($a, ".0"));
$b = explode(".", rtrim($b, ".0"));
$a = explode(".", $a);
$b = explode(".", $b);
_parseVersionArray($a);
_parseVersionArray($b);