Commit 1fe1f36a authored by Shakarim Sapa's avatar Shakarim Sapa

- Fix

parent 8a09762d
...@@ -30,14 +30,14 @@ class BlogBidController extends BaseController { ...@@ -30,14 +30,14 @@ class BlogBidController extends BaseController {
try { try {
if($model->save()) { if($model->save()) {
var_dump($model->getErrors());
die;
$model->send(); $model->send();
$transaction->commit(); $transaction->commit();
return ['success' => true]; return ['success' => true];
} else { } else {
var_dump(ActiveForm::validate($model));
die;
return ActiveForm::validate($model); return ActiveForm::validate($model);
} }
} catch (\Exception $e) { } catch (\Exception $e) {
......
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