Modified:
trunk/library/Vanilla/Control/CommentGrid.php
Log:
We have to return on discussion object failures, else the page just
continues and the user gets fugly php errors
Modified: trunk/library/Vanilla/Control/CommentGrid.php
==============================================================================
--- trunk/library/Vanilla/Control/CommentGrid.php (original)
+++ trunk/library/Vanilla/Control/CommentGrid.php Sat Oct 20 16:47:23 2007
@@ -46,6 +46,7 @@
$this->Discussion =
$DiscussionManager->GetDiscussionById($DiscussionID, $RecordDiscussionView);
if (!$this->Discussion) {
$this->CallDelegate('Constructor');
+ return;
}
$this->Discussion->FormatPropertiesForDisplay();