diff --git a/sources/Afup/Forum/AppelConferencier.php b/sources/Afup/Forum/AppelConferencier.php index f5c680c5b..ba1fb2822 100644 --- a/sources/Afup/Forum/AppelConferencier.php +++ b/sources/Afup/Forum/AppelConferencier.php @@ -431,8 +431,10 @@ public function modifierSession( $requete .= ' titre = ' . $this->_bdd->echapper($titre) . ', '; $requete .= ' abstract = ' . $this->_bdd->echapper($abstract) . ', '; $requete .= ' genre = ' . $this->_bdd->echapper($genre) . ', '; - if ($joindin !== null) { + if (strlen(trim($joindin)) > 0) { $requete .= ' joindin = ' . $this->_bdd->echapper($joindin) . ', '; + } else { + $requete .= ' joindin = NULL, '; } if ($youtubeId !== null) { $requete .= ' youtube_id = ' . $this->_bdd->echapper($youtubeId) . ', ';