Updating code example in docs for 3.1 compatibility
This commit is contained in:
parent
e2c1a7111e
commit
537c864526
|
@ -205,7 +205,7 @@ attach this behaviour to custom fields by calling a helper function from your ge
|
|||
:::php
|
||||
class Page extends SiteTree {
|
||||
|
||||
public static $db = array(
|
||||
private static $db = array(
|
||||
'AdditionalProperty' => 'Text',
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue