From 40ca5f4f1630177e6c7d21c965b258830d5a1aa2 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 18 Aug 2006 05:26:18 +0000 Subject: [PATCH] r1076: Fix a call to a non-object error [editcomment.php#116] --- editcomment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editcomment.php b/editcomment.php index e99d51e..3c035f7 100644 --- a/editcomment.php +++ b/editcomment.php @@ -113,7 +113,7 @@ if ($_REQUEST['do'] == 'delete') if ($bug['initialreport'] == $comment['commentid']) { - $messsage->error(_('You cannot delete this comment because it is attached to the bug as the first comment. You have to delete the entire bug instead (which is not recommended unless it is spam).')); + $message->error(_('You cannot delete this comment because it is attached to the bug as the first comment. You have to delete the entire bug instead (which is not recommended unless it is spam).')); } $message->confirm(_('Are you sure you want to delete this comment? After you do so, the data will be lost forever. We recommend only deleting spam comments and nothing else.'), 'editcomment.php', 'kill', _('Delete Comment'), 'showreport.php?bugid=' . $bug['bugid'], array('commentid' => $comment['commentid'])); -- 2.43.5