|
@@ 1581-1582 (lines=2) @@
|
| 1578 |
|
foreach ($versions as $for) |
| 1579 |
|
{ |
| 1580 |
|
// Adjust for those wild cards |
| 1581 |
|
if (strpos($for, '*') !== false) |
| 1582 |
|
$for = str_replace('*', '0dev0', $for) . '-' . str_replace('*', '999', $for); |
| 1583 |
|
|
| 1584 |
|
// If we have a range, grab the lower value, done this way so it looks normal-er to the user e.g. 2.0 vs 2.0.99 |
| 1585 |
|
if (strpos($for, '-') !== false) |
|
@@ 1620-1621 (lines=2) @@
|
| 1617 |
|
foreach ($versions as $for) |
| 1618 |
|
{ |
| 1619 |
|
// Wild card spotted? |
| 1620 |
|
if (strpos($for, '*') !== false) |
| 1621 |
|
$for = str_replace('*', '0dev0', $for) . '-' . str_replace('*', '999', $for); |
| 1622 |
|
|
| 1623 |
|
// Do we have a range? |
| 1624 |
|
if (strpos($for, '-') !== false) |