Commit 1b6eed1
authored
Typecast BaseLocation.php $config
Run the BaseLocation $config through the craft Typecast helper to address type errors when working with the map field on the front end. Craft automatically call this for any classes that extend the craft Model.php class, but not here as it extends the yii Model class directly.1 parent c1a9347 commit 1b6eed1
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
0 commit comments