Skip to content

Commit

Permalink
Merge pull request #1570 from afup/fix_session_modification_joindin
Browse files Browse the repository at this point in the history
correction modification de session suite au changement de bdd
  • Loading branch information
agallou authored Dec 13, 2024
2 parents 81fa29e + def009d commit 6d0c040
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sources/Afup/Forum/AppelConferencier.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) . ', ';
Expand Down

0 comments on commit 6d0c040

Please sign in to comment.