X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fsurvey%2Fsurvey.inc.php;h=003bbcfa6b5d8d3c26f3db4aa8eae7e211c9b69a;hb=c7eac294d59c639f26b21920f7d1827d5854c82f;hp=89d674b591f26a3e0620c02fc13f06f898afb5c5;hpb=730a173a333507926e0029d8a96c3a26b55756e4;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(); } // }}}