Page 1 of 1

Errors of the version 1.17.1

PostPosted: 10 Jul 2016, 10:24
by support
Here we describe the errors of the version 1.17.1

Re: Errors of the version 1.17.1

PostPosted: 29 Jul 2016, 14:19
by andipas
Error when editing the main page in the information pages.
To fix it, do the following:
In file protected/modules/infopages/controllers/backend/MainController.php

the code:
Code: Select all

        
if(($model->widget == 'apartments' || $model->widget == 'seosummaryinfo') && $model->widget_data){
            
$this->filter CJSON::decode($model->widget_data);
        }
  


change on:
Code: Select all

        
if(($model->widget == 'apartments' || $model->widget == 'seosummaryinfo') && $model->widget_data){
            
$arr CJSON::decode($model->widget_data);
            if(
is_array($arr)){
                
$this->filter CMap::mergeArray($this->filter$arr);
            }
        }