summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-08-22 17:03:42 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-08-22 17:03:42 +0000
commit51cf18e53176244f264c56cab1c4ff0d1767ac59 (patch)
tree833a665ab48dd0d3a54676d78aa9152b0699f21e /modules/comment.module
parent95cb7f32229e229a39e70a76b2b0f6a14cdc5953 (diff)
downloadbrdo-51cf18e53176244f264c56cab1c4ff0d1767ac59.tar.gz
brdo-51cf18e53176244f264c56cab1c4ff0d1767ac59.tar.bz2
- #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly broken.
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 0f9980b67..923381af0 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -502,6 +502,7 @@ function comment_preview($edit) {
$output = '';
+ $comment = new StdClass();
foreach ($edit as $key => $value) {
$comment->$key = $value;
}