Updating code example in docs for 3.1 compatibility

This commit is contained in:
Sean Harvey 2013-04-10 11:30:31 +12:00
parent e2c1a7111e
commit 537c864526

View File

@ -205,7 +205,7 @@ attach this behaviour to custom fields by calling a helper function from your ge
:::php :::php
class Page extends SiteTree { class Page extends SiteTree {
public static $db = array( private static $db = array(
'AdditionalProperty' => 'Text', 'AdditionalProperty' => 'Text',
); );