Skip to content

Commit 95d71d4

Browse files
committed
Update fpa-en.php
improved J5.1 compatibility
1 parent d40bca3 commit 95d71d4

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

fpa-en.php

+9-9
Original file line numberDiff line numberDiff line change
@@ -3359,20 +3359,20 @@ function doJOOMLALIVE($thisJVER) {
33593359

33603360
} else {
33613361
// To be removed when J3 is EOL
3362-
if (substr($thisJVER ,0 ,1) != '4') {
3363-
$x = 0;
3364-
do {
3365-
$x++;
3366-
$latestJATTR = $jupdateXML->extension[count($jupdateXML->extension) - $x];
3367-
} while (substr($latestJATTR->attributes()->targetplatformversion->__toString(),0 ,1) != '3');
3362+
///if (substr($thisJVER ,0 ,1) != '4') {
3363+
/// $x = 0;
3364+
/// do {
3365+
/// $x++;
3366+
/// $latestJATTR = $jupdateXML->extension[count($jupdateXML->extension) - $x];
3367+
/// } while (substr($latestJATTR->attributes()->targetplatformversion->__toString(),0 ,1) != '3');
33683368

3369-
$latestJVER = $latestJATTR->attributes()->version->__toString();
3369+
/// $latestJVER = $latestJATTR->attributes()->version->__toString();
33703370

3371-
} else {
3371+
///} else {
33723372
// End of To be removed when J3 is EOL
33733373
$latestJATTR = $jupdateXML->extension[count($jupdateXML->extension) -1];
33743374
$latestJVER = $latestJATTR->attributes()->version->__toString();
3375-
}
3375+
///}
33763376

33773377
if (version_compare($thisJVER, $latestJVER) < 0) {
33783378
$joomlaVersionCheckStatus = 'warning';

0 commit comments

Comments
 (0)