X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fsurvey%2Fsurvey.inc.php;h=003bbcfa6b5d8d3c26f3db4aa8eae7e211c9b69a;hb=ea74d2785d9c1ff5571ebf2f73c89cbf19c8dd07;hp=89d674b591f26a3e0620c02fc13f06f898afb5c5;hpb=a7c29df3b9bf8f3c3b23fec0f1d2feb814cb61fe;p=platal.git diff --git a/modules/survey/survey.inc.php b/modules/survey/survey.inc.php index 89d674b..003bbcf 100644 --- a/modules/survey/survey.inc.php +++ b/modules/survey/survey.inc.php @@ -407,7 +407,7 @@ class Survey public function proposeSurvey() { require_once 'validations.inc.php'; - $surveyreq = new SurveyReq($this->title, $this->description, $this->end, $this->mode, $this->promos, $this->questions, S::v('uid')); + $surveyreq = new SurveyReq($this->title, $this->description, $this->end, $this->mode, $this->promos, $this->questions, S::user()); return $surveyreq->submit(); } // }}}