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

Hotfix

parent bcfb9f98
......@@ -39,6 +39,12 @@ class Form {
"step" => "dossier",
"created"=>time()
);
if( isset(Yii::app()->session["costum"]) &&
isset(Yii::app()->session["costum"]["slug"]) ){
$answer["source"] = array( "key" => Yii::app()->session["costum"]["slug"],
"keys" => array(Yii::app()->session["costum"]["slug"]),
"insertOrign" => "costum") ;
}
PHDB::insert( self::ANSWER_COLLECTION, $answer);
return array( "result" => true,
"answer" => $answer );
......
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