Commit 2b9514e8 authored by Shakarim Sapa's avatar Shakarim Sapa

- Fix

parent 1fa723dc
...@@ -36,7 +36,7 @@ class BlogBidController extends BaseController { ...@@ -36,7 +36,7 @@ class BlogBidController extends BaseController {
return ['success' => true]; return ['success' => true];
} else { } else {
ActiveForm::validate($model); die; var_dump(ActiveForm::validate($model)); die;
return ActiveForm::validate($model); return ActiveForm::validate($model);
} }
} catch (Exception $e) { } catch (Exception $e) {
......
...@@ -18,7 +18,7 @@ if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->ex ...@@ -18,7 +18,7 @@ if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->ex
$model = new BlogBids; $model = new BlogBids;
$form = ActiveForm::begin([ $form = ActiveForm::begin([
'action' => '/blog/blog-bid/Add', 'action' => '/blog/blog-bid/add',
'enableClientValidation' => false, 'enableClientValidation' => false,
'options' => [ 'options' => [
'class' => 'subsc_blog_form blog-bid-form', 'class' => 'subsc_blog_form blog-bid-form',
......
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