From 049a1c8d84d2c9943dd342c74c4c05b84eb69d2b Mon Sep 17 00:00:00 2001 From: Stephen Shkardoon Date: Fri, 20 Sep 2013 10:17:30 +1200 Subject: [PATCH] FIX #25 - documentautocomplete need allowed_action --- code/cms/DMSDocumentAddController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/cms/DMSDocumentAddController.php b/code/cms/DMSDocumentAddController.php index 6dfad5d..b330e55 100644 --- a/code/cms/DMSDocumentAddController.php +++ b/code/cms/DMSDocumentAddController.php @@ -10,7 +10,8 @@ class DMSDocumentAddController extends LeftAndMain { static $allowed_extensions = array(); private static $allowed_actions = array ( - "getEditForm", + 'getEditForm', + 'documentautocomplete', ); /** @@ -227,4 +228,4 @@ class DMSDocumentAddController extends LeftAndMain { } -?> \ No newline at end of file +?>