Advertisement
vitaliy76

askit fix

Apr 13th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.44 KB | None | 0 0
  1. diff --git a/Controller/Adminhtml/Question/Save.php b/Controller/Adminhtml/Question/Save.php
  2. index 89bdfd8..b3e16f4 100644
  3. --- a/Controller/Adminhtml/Question/Save.php
  4. +++ b/Controller/Adminhtml/Question/Save.php
  5. @@ -64,7 +64,7 @@ public function execute()
  6.                  $model->load($id);
  7.              }
  8.  
  9. -            $model->setData($data);
  10. +            $model->addData($data);
  11.  
  12.              try {
  13.                  $model->save();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement