From ec8312233cca76ade2863059dad858790096c48d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Tue, 24 Apr 2007 23:40:12 +0000 Subject: [PATCH] Display add item help text after fetching input values. This allows the help text functions to output help depending on the state of the edited object --- include/objectManager.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/objectManager.php b/include/objectManager.php index c4b5825..90443e3 100644 --- a/include/objectManager.php +++ b/include/objectManager.php @@ -258,16 +258,17 @@ class ObjectManager $oObject = new $this->sClass(); - /* Display help if it is exists */ - if(method_exists(new $this->sClass, "objectDisplayAddItemHelp")) - $oObject->objectDisplayAddItemHelp(); - /* Display errors, if any, and fetch form data */ if($this->displayErrors($sErrors)) { global $aClean; $oObject->getOutputEditorValues($aClean); } + + /* Display help if it is exists */ + if(method_exists(new $this->sClass, "objectDisplayAddItemHelp")) + $oObject->objectDisplayAddItemHelp(); + echo "
\n"; $oObject->outputEditor();