Skip to content

Commit dcb6334

Browse files
committed
DOCS Fix incorrect field name when removing existing fields
1 parent 27fceea commit dcb6334

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class Store extends DataObject
3535
));
3636

3737
// remove the lat / lng fields from the CMS
38-
$fields->removeFieldFromTab('Root.Main', 'Lat');
39-
$fields->removeFieldFromTab('Root.Main', 'Lng');
38+
$fields->removeFieldFromTab('Root.Main', 'Latitude');
39+
$fields->removeFieldFromTab('Root.Main', 'Longitude');
4040

4141
return $fields;
4242
}

0 commit comments

Comments
 (0)