[kronolith] template/view/view.inc - Undefined Index: category

Rodolfo Segleau segleaur@mechanus.org
Wed, 4 Sep 2002 16:16:41 -0500


It seems that there's a piece of code left over from the old category structure 
still.

Notice: Undefined index: category 
in /var/www/horde/kronolith/templates/view/view.inc on line 44



This is the code:

<?php if (!empty($category)): ?>
<!-- category -->
<tr>
 <td align="right" class="light"><b><?php echo $conf['metadata']['category']
['label'] ?>&nbsp;&nbsp;</b></td>
 <td align="left" class="text" colspan="3">
  <?php if ($conf['metadata']['category']['type'] == 'categoryList'): ?>
  <?php echo htmlspecialchars(Kronolith::formatCategory($event->getCategory
())) ?>
  <?php else: ?>
  <?php echo htmlspecialchars($event->getCategory()) ?>
  <?php endif; ?>
 </td>





Cheers, 

Rodolfo