Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Pixel Humain
survey
Commits
d1c0e3fb
Commit
d1c0e3fb
authored
Mar 20, 2020
by
Raph El
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove test
parent
c75fdecd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
controllers/answer/IndexAction.php
controllers/answer/IndexAction.php
+1
-1
models/Form.php
models/Form.php
+1
-1
No files found.
controllers/answer/IndexAction.php
View file @
d1c0e3fb
...
...
@@ -28,7 +28,7 @@ class IndexAction extends CAction
//Rest::json($params); exit;
$params
=
Form
::
getDataForAnswer
(
$params
);
var_dump
(
Yii
::
app
()
->
session
[
"budgetInputList"
]);
exit
;
//
var_dump(Yii::app()->session["budgetInputList"]); exit;
$params
[
"answer"
]
=
$answer
;
// TODO améliorer getdataForAnser pour soit viré la création de lanswers soit charger la bonne answer
...
...
models/Form.php
View file @
d1c0e3fb
...
...
@@ -678,7 +678,7 @@ class Form {
}
if
(
count
(
$budgetInputList
))
Yii
::
app
()
->
session
[
"budgetInputList"
]
=
$budgetInputList
;
var_dump
(
$budgetInputList
);
//
var_dump($budgetInputList);
//use the cache
Yii
::
app
()
->
session
[
"forms"
]
=
$allforms
;
return
$params
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment