Fix second parameter of function date (options.php)

This commit is contained in:
Loïc TALON 2013-02-24 17:56:44 +01:00
commit 4b92511bae
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ config.php
.idea/
coverage/
src/application/cache/*
src/application/configs/local.php

View file

@ -250,7 +250,7 @@ $mode = isset($_GET['mode']) ? $_GET['mode'] : null;
$parse['opt_modev_data'] = ($user['urlaubs_modus'] == 1)?" checked='checked'/":'';
$parse['opt_modev_exit'] = ($user['urlaubs_modus'] == 0)?" checked='1'/":'';
$parse['Vaccation_mode'] = $lang['Vaccation_mode'];
$parse['vacation_until'] = date("d.m.Y G:i:s",$user['urlaubs_until']);
$parse['vacation_until'] = date("d.m.Y G:i:s",$user['urlaubs_until']->getTimestamp());
$parse['user_settings_rep'] = ($user['settings_rep'] == 1) ? " checked='checked'/":'';
$parse['user_settings_esp'] = ($user['settings_esp'] == 1) ? " checked='checked'/":'';
$parse['user_settings_wri'] = ($user['settings_wri'] == 1) ? " checked='checked'/":'';