From e36bf511247ab61815c7ed5cfbb939f4b29d34ab Mon Sep 17 00:00:00 2001 From: Leendert Bottelberghs Date: Wed, 18 Aug 2004 14:13:42 +0000 Subject: [PATCH] more GUID stuff. --- lib/WebGUI/Forum/Post.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Forum/Post.pm b/lib/WebGUI/Forum/Post.pm index ff5f99ffa..ee19598f8 100644 --- a/lib/WebGUI/Forum/Post.pm +++ b/lib/WebGUI/Forum/Post.pm @@ -286,7 +286,7 @@ Returns a boolean indicating whether this post is a reply or the root post in a sub isReply { my ($self) = @_; - if ($self->get("parentId") > 0) { + if ($self->get("parentId") ne "0") { return 1; } else { return 0;