diff --git a/html/admin/setup.php b/html/admin/setup.php index 15cc47b89..bbfdd10e1 100644 --- a/html/admin/setup.php +++ b/html/admin/setup.php @@ -168,9 +168,10 @@ function apply_patch($p_cn,$p_name) $MaxVersion=31; for ( $i = 4;$i <= $MaxVersion;$i++) { + $to=$i+1; if ( GetVersion($p_cn) <= $i ) { echo "Patching ".$p_name. - " from the version $i to the version ".GetVersion($p_cn)."