2
0
forked from Wavyzz/dolibarr

Fix else if

This commit is contained in:
Laurent Destailleur
2020-01-27 02:13:12 +01:00
parent 2d77765613
commit 50d9ac0b52
3 changed files with 3 additions and 3 deletions

View File

@@ -2064,7 +2064,7 @@ function dol_now($mode = 'gmt')
$tzsecond = getServerTimeZoneInt('now'); // Contains tz+dayling saving time
$ret = (int) (dol_now('gmt') + ($tzsecond * 3600));
}
/*else if ($mode == 'tzref') // Time for now with parent company timezone is added
/*elseif ($mode == 'tzref') // Time for now with parent company timezone is added
{
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
$tzsecond=getParentCompanyTimeZoneInt(); // Contains tz+dayling saving time