We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0283db7 + 1b6eed1 commit bfde737Copy full SHA for bfde737
1 file changed
src/models/BaseLocation.php
@@ -9,6 +9,7 @@
9
namespace ether\simplemap\models;
10
11
use craft\helpers\Json;
12
+use craft\helpers\Typecast;
13
use Twig\Markup;
14
use yii\base\Model;
15
@@ -44,6 +45,8 @@ abstract class BaseLocation extends Model
44
45
46
public function __construct ($config = [])
47
{
48
+ Typecast::properties(static::class, $config);
49
+
50
parent::__construct($config);
51
52
if ($this->address === null)
0 commit comments