Fix horaires vides + fix mails qui partent pas + de_DE

This commit is contained in:
FramaJosephK 2014-12-02 18:15:15 +01:00
parent 514369387b
commit 2c49a9f0ac
5 changed files with 680 additions and 679 deletions

View File

@ -871,7 +871,7 @@ if (substr($dsondage->format, 0, 1)=="D") {
// Hours
$rbd = ($border[$i]) ? ' rbd' : '';
if ($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;

View File

@ -41,6 +41,7 @@ function random($car)
function ajouter_sondage()
{
global $connect;
global $config;
$sondage=random(16);
$sondage_admin=$sondage.random(8);

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -366,7 +366,7 @@ if ($dsondage->format=="D"||$dsondage->format=="D+"||$dsondage->format=="D-") {
// Hours
$rbd = ($border[$i]) ? ' rbd' : '';
if ($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;