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 fee5c09 + 85a88be commit 546271dCopy full SHA for 546271d
README.md
@@ -24,7 +24,7 @@ use BetterBrief\GoogleMapField;
24
25
class Store extends DataObject
26
{
27
- public static $db = array(
+ private static $db = array(
28
'Title' => 'Varchar(255)',
29
'Latitude' => 'Varchar',
30
'Longitude' => 'Varchar',
@@ -40,8 +40,8 @@ class Store extends DataObject
40
));
41
42
// remove the lat / lng fields from the CMS
43
- $fields->removeFieldFromTab('Root.Main', 'Lat');
44
- $fields->removeFieldFromTab('Root.Main', 'Lng');
+ $fields->removeFieldFromTab('Root.Main', 'Latitude');
+ $fields->removeFieldFromTab('Root.Main', 'Longitude');
45
46
return $fields;
47
}
0 commit comments