From 368211c7e5b5115d61acb52c59eb841c3bfc2273 Mon Sep 17 00:00:00 2001 From: Stig Lindqvist Date: Mon, 7 May 2012 17:09:08 +1200 Subject: [PATCH] MINOR addfield and addoptionfield methods are now in $allowed_actions --- code/formfields/FieldEditor.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/formfields/FieldEditor.php b/code/formfields/FieldEditor.php index f2d4756..35a294c 100755 --- a/code/formfields/FieldEditor.php +++ b/code/formfields/FieldEditor.php @@ -7,6 +7,11 @@ */ class FieldEditor extends FormField { + + public static $allowed_actions = array( + 'addfield', + 'addoptionfield' + ); /** * Field Editor Template