|
@@ -583,7 +583,7 @@ class NewsController extends BaseController
|
|
$id = Yii::$app->request->get('id');
|
|
$id = Yii::$app->request->get('id');
|
|
$gid = Yii::$app->request->get('gid');
|
|
$gid = Yii::$app->request->get('gid');
|
|
$title = Yii::$app->request->get('title');
|
|
$title = Yii::$app->request->get('title');
|
|
- $description = Yii::$app->request->get('description');
|
|
|
|
|
|
+ $description = rawurldecode(Yii::$app->request->get('description'));
|
|
//p = new \manager\models\GalleryImage->getUrl(1,'small');
|
|
//p = new \manager\models\GalleryImage->getUrl(1,'small');
|
|
$db = \Yii::$app->db;
|
|
$db = \Yii::$app->db;
|
|
$gallery = \manager\models\Gallery::find()->andWhere(['id'=>$gid])->one();
|
|
$gallery = \manager\models\Gallery::find()->andWhere(['id'=>$gid])->one();
|