d1f8bd40
Alexey Boroda
first commit
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
namespace backend\modules\map\models;
/**
* Class ItemLang
* @package backend\modules\map\models
* @author Alla Kuzmenko
* @copyright (c), Thread
*/
class ItemLang extends \common\modules\map\models\ItemLang
{
/**
* @param bool $insert
* @return bool
*/
public function beforeSave($insert)
{
$this->licenses = implode(",", $_POST['ItemLang']['licenses'] ?? '');
return parent::beforeSave($insert);
}
}
|