Advertisement
stronk7

Untitled

Nov 11th, 2020
538
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.46 KB | None | 0 0
  1. $ diff lib.php libt.php
  2. 377c377
  3. <     // Within each maturity, sort by branch desc (3.0 before 2.9).
  4. ---
  5. >     // Within each maturity, sort by branch desc (3.0 before 2.9, 3.10 before 3.9).
  6. 379c379
  7. <         krsort($candidates[$maturity], SORT_NUMERIC);
  8. ---
  9. >         krsort($candidates[$maturity], SORT_NATURAL);
  10. 392c392
  11. <         if ((double)$supportedbranch > $targetbranch) {
  12. ---
  13. >         if (version_compare($supportedbranch, $targetbranch, '>')) {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement