Browse Source

FIX excess comma

Florian Mortgat 4 years ago
parent
commit
7685ed8295
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/opensurvey/class/opensurveysondage.class.php

+ 1 - 1
htdocs/opensurvey/class/opensurveysondage.class.php

@@ -168,7 +168,7 @@ class Opensurveysondage extends CommonObject
         $sql .= " ".$this->db->escape($this->allow_comments).",";
         $sql .= " ".$this->db->escape($this->allow_spy).",";
         $sql .= " '".$this->db->escape($this->sujet)."',";
-        $sql .= " '".$conf->entity."',";
+        $sql .= " ".$conf->entity;
         $sql .= ")";
 
         $this->db->begin();