Commit d1f9c985 authored by Raph El's avatar Raph El
Browse files

Hotfix answer::getDataAnswer

parent 5ca19b22
......@@ -14,7 +14,7 @@ class DirectoryAction extends CAction
$res = Form::getBySourceAndId($source, $form);
$answers=Answer::globalAutocomplete($res["form"], $searchParams);
$answerList = Form::listForAdmin($answers["results"]) ;
$answerList = Answer::getDataAnswers($answerList, $res["forms"]);
$answerList = Answer::getDataAnswers($answerList, $res["forms"], $res["form"]);
if(isset($answers["count"]))
$res["count"]=$answers["count"];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment