Skip to content

Commit

Permalink
Merge branch 'fix_session_modification_joindin' into preprod
Browse files Browse the repository at this point in the history
  • Loading branch information
agallou committed Dec 13, 2024
2 parents 8e84d18 + def009d commit 8d145dc
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 8d145dc

Please sign in to comment.