change cart to plain post from ajax
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace common\models;
|
||||
|
||||
use Yii;
|
||||
use common\components\Helper;
|
||||
|
||||
/**
|
||||
* This is the model class for table "card".
|
||||
@@ -67,7 +68,7 @@ class Card extends \common\models\BaseFitnessActiveRecord
|
||||
|
||||
public function validateAscii($attribute,$params){
|
||||
if ( !$this->hasErrors($this->$attribute)){
|
||||
$this->$attribute = str_replace("ö", "0", $this->$attribute);
|
||||
$this->attribute = Helper::fixAsciiChars($this->attributes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user