Retouches après série de merges

This commit is contained in:
FramaJosephK 2014-12-03 14:30:25 +01:00
parent 811d525239
commit 6751a8a9cf
5 changed files with 26 additions and 25 deletions

View file

@ -44,7 +44,8 @@ function getChoicesFromPOST($nbColumns)
function getNewChoiceFromChoices($choices)
{
if(!is_array($choice)) {
throw new Exception('$choices must be a an array');
/* throw new Exception('$choices must be a an array');
PHP Fatal error: Class 'Framadate\Exception' not found */
}
$newChoice = '';
@ -886,7 +887,7 @@ if (substr($dsondage->format, 0, 1) == 'D') {
// Hours
$rbd = ($border[$i]) ? ' rbd' : '';
if (isset($horoCur[1]) && $horoCur[1] !== "") {
if (isset($horoCur[1]) && $horoCur[1] !== '') {
$tr_hours .= '<th class="bg-info'.$rbd.'" id="H'.$i.'" title="'.$horoCur[1].'">'.$horoCur[1].'</th>';
$radio_title[$i] .= ' - '.$horoCur[1];
$td_headers[$i] .= ' H'.$i;