avoir une valeur par défaut pour indiscore
This commit is contained in:
parent
e12c8bbbe2
commit
b96ae6aef5
@ -221,7 +221,7 @@ if ($etab['NbBilansScore']>0 && $etab['Bilans'][0]['Millesime']>=$millesimeMax)
|
||||
break;
|
||||
case '100':
|
||||
default:
|
||||
$maxIndiscore = $_SESSION['tabInfo']['typeScore'];
|
||||
$maxIndiscore = empty($_SESSION['tabInfo']['typeScore'])? '100' : $_SESSION['tabInfo']['typeScore'];
|
||||
$indiscore = $etab['Indiscore'];
|
||||
break;
|
||||
}
|
||||
|
@ -1842,7 +1842,7 @@ if ($etab['NbBilansScore']>0 && $etab['Bilans'][0]['Millesime']>=$millesimeMax)
|
||||
break;
|
||||
case '100':
|
||||
default:
|
||||
$maxIndiscore = $_SESSION['tabInfo']['typeScore'];
|
||||
$maxIndiscore = empty($_SESSION['tabInfo']['typeScore'])? '100' : $_SESSION['tabInfo']['typeScore'];
|
||||
$indiscore = $etab['Indiscore'];
|
||||
break;
|
||||
}
|
||||
|
@ -695,7 +695,7 @@ switch($_SESSION['tabInfo']['typeScore'])
|
||||
break;
|
||||
case '100':
|
||||
default:
|
||||
$maxIndiscore = $_SESSION['tabInfo']['typeScore'];
|
||||
$maxIndiscore = empty($_SESSION['tabInfo']['typeScore'])? '100' : $_SESSION['tabInfo']['typeScore'];
|
||||
$indiscore = $etab['Indiscore'];
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user