Do not show the form if it has not been build because of an error.
authorGunnar Wrobel <p@rdus.de>
Fri, 3 Apr 2009 19:16:08 +0000 (21:16 +0200)
committerGunnar Wrobel <p@rdus.de>
Fri, 3 Apr 2009 19:16:08 +0000 (21:16 +0200)
koward/app/views/Object/view.html.php

index f261764..c9f219c 100644 (file)
@@ -1,3 +1,6 @@
 <?= $this->renderPartial('header'); ?>
 <?= $this->renderPartial('menu'); ?>
-<?= $this->form->renderInactive(new Horde_Form_Renderer(), $this->vars); ?>
\ No newline at end of file
+<?php
+if (isset($this->form)) {
+    echo $this->form->renderInactive(new Horde_Form_Renderer(), $this->vars);
+}
\ No newline at end of file