From a3da342b061fea6a5ed26ca0280db94d134f6a24 Mon Sep 17 00:00:00 2001 From: Julian Seidenberg Date: Tue, 1 Mar 2011 16:00:21 +1300 Subject: [PATCH] BUGFIX: fixed assess to a protected attribute variable of form causing an error. --- code/LeftAndMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index adc34fc2..c8a55812 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -970,7 +970,7 @@ class LeftAndMain extends Controller { if(!$form) return false; $form->transform(new PrintableTransformation()); - $form->actions = null; + $form->setActions(null); Requirements::clear(); Requirements::css(CMS_DIR . '/css/LeftAndMain_printable.css');