Fix undefined variable.
authorJan Schneider <jan@horde.org>
Wed, 9 Dec 2009 14:15:59 +0000 (15:15 +0100)
committerJan Schneider <jan@horde.org>
Wed, 9 Dec 2009 14:15:59 +0000 (15:15 +0100)
kronolith/resources/index.php

index 53d3171..61141cf 100644 (file)
@@ -63,7 +63,7 @@ function performAction(action, rid)
   <td>&nbsp;</td>
   <?php endif;?>
   <td><?php echo htmlspecialchars($resource->get('name')) ?></td>
-  <td><?php echo $display_url_base->add('display_cal', $resource->get('calendar'), false)->link(array('title' => _("Click or copy this URL to display this calendar"))) . htmlspecialchars(shorten_url($url)) . '</a>' ?></td>
+  <td><?php $url = $display_url_base->add('display_cal', $resource->get('calendar'), false); echo $url->link(array('title' => _("Click or copy this URL to display this calendar"))) . htmlspecialchars(shorten_url($url)) . '</a>' ?></td>
  </tr>
 <?php endforeach; ?>
 </tbody>