Merge pull request #16947 from atm-john/11.0_fix_something_that_not_exist

FIX : shhhhhh ! There is nothing here...
This commit is contained in:
Laurent Destailleur 2021-03-25 01:09:20 +01:00 committed by GitHub
commit 30543bda71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,9 +289,9 @@ if (! empty($_SESSION['dol_loginmesg']))
if (!empty($conf->global->MAIN_EASTER_EGG_COMMITSTRIP)) {
include_once DOL_DOCUMENT_ROOT.'/core/lib/geturl.lib.php';
if (substr($langs->defaultlang, 0, 2)=='fr') {
$resgetcommitstrip = getURLContent("http://www.commitstrip.com/fr/feed/");
$resgetcommitstrip = getURLContent("https://www.commitstrip.com/fr/feed/");
} else {
$resgetcommitstrip = getURLContent("http://www.commitstrip.com/en/feed/");
$resgetcommitstrip = getURLContent("https://www.commitstrip.com/en/feed/");
}
if ($resgetcommitstrip && $resgetcommitstrip['http_code'] == '200')
{