Index: branches/unlabeled/unlabeled-1.106.2/admin/install.php =================================================================== diff -u -r5970 -r6015 --- branches/unlabeled/unlabeled-1.106.2/admin/install.php (.../install.php) (revision 5970) +++ branches/unlabeled/unlabeled-1.106.2/admin/install.php (.../install.php) (revision 6015) @@ -560,8 +560,8 @@ $filename = $pathtoroot.$mod_path."/admin/install/upgrades/$file"; if(file_exists($filename)) { - include($filename); - if($result&2)break; + include($filename); + if( $result & 2 ) break; } } } @@ -686,6 +686,8 @@ { $filename = $pathtoroot.$mod_path."/admin/install/upgrades/$file"; //echo "Running: $filename
"; + + // SQL is processed FIRST (before corresponding PHP according to the sorting order in VersionSort() if( file_exists($filename) ) { if($tmp_extension == 'sql')