Fix Undefined variable dol_dst (#25514)
This commit is contained in:
parent
79f645f9e1
commit
4dc4d492c7
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ print '<div class="div-table-responsive">'; // You can use div-table-responsive-
|
|||
print "Test 1a: We must have here current date and hour for user (must match hour on browser). Note: Check your are logged so user TZ and DST are known.";
|
||||
$offsettz = (empty($_SESSION['dol_tz']) ? 0 : $_SESSION['dol_tz']) * 60 * 60;
|
||||
$offsetdst = (empty($_SESSION['dol_dst']) ? 0 : $_SESSION['dol_dst']) * 60 * 60;
|
||||
print " (dol_tz=".$offsettz." dol_dst=".$dol_dst.")<br>\n";
|
||||
print " (dol_tz=".$offsettz." dol_dst=".$offsetdst.")<br>\n";
|
||||
print $form->selectDate(dol_now(), 'test1a', 1, 1, 0);
|
||||
|
||||
print '<br><br>'."\n";
|
||||
|
|
|
|||
Loading…
Reference in a new issue