Permalink
Browse files

Now you can prevent fields being documented.

Signed-off-by: Alistair Kearney <alistair@21degrees.com.au>
  • Loading branch information...
1 parent 7b4ab4e commit a506f2acce1d0032d5ea5e338c03ee98a8f4b7c6 @rainerborene rainerborene committed with Alistair Kearney Aug 15, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 symphony/content/content.blueprintsevents.php
@@ -303,7 +303,8 @@ function __formAction(){
$section = $sectionManager->fetch($fields['source']);
$markup = NULL;
foreach($section->fetchFields() as $f){
- $container->appendChild($f->getExampleFormMarkup());
+ if ($f->getExampleFormMarkup() instanceof XMLElement)
+ $container->appendChild($f->getExampleFormMarkup());
}
$container->appendChild(Widget::Input('action['.$rootelement.']', __('Submit'), 'submit'));

0 comments on commit a506f2a

Please sign in to comment.