Fix next month or next year in opensurvey
http://www.dolibarr.fr/forum/527-bugs-sur-la-version-stable-courante/55209-bug-calendrier-opensurvey-v3-9
This commit is contained in:
parent
12a5fbbea7
commit
9e5db0f3c6
@ -227,7 +227,7 @@ if (! isset($_SESSION['mois'])) $_SESSION['mois']= date('n');
|
||||
if (! isset($_SESSION['annee'])) $_SESSION['annee']= date('Y');
|
||||
|
||||
//mise a jour des valeurs de session si bouton retour a aujourd'hui
|
||||
if ((!issetAndNoEmpty('choixjourajout')) && !issetAndNoEmpty('choixjourretrait') || issetAndNoEmpty('retourmois')){
|
||||
if (!issetAndNoEmpty('choixjourajout') && !issetAndNoEmpty('choixjourretrait') && (issetAndNoEmpty('retourmois') || issetAndNoEmpty('retourmois_x'))) {
|
||||
$_SESSION["jour"]=date("j");
|
||||
$_SESSION["mois"]=date("n");
|
||||
$_SESSION["annee"]=date("Y");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user