[geeklog-cvs] geeklog: E_ALL fix
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Fri Sep 11 11:54:44 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/182b74e229d7
changeset: 7306:182b74e229d7
user: Dirk Haun <dirk at haun-online.de>
date: Fri Sep 11 16:30:21 2009 +0200
description:
E_ALL fix
diffstat:
public_html/comment.php | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 132a67d1d0bf -r 182b74e229d7 public_html/comment.php
--- a/public_html/comment.php Fri Sep 11 16:20:05 2009 +0200
+++ b/public_html/comment.php Fri Sep 11 16:30:21 2009 +0200
@@ -473,10 +473,13 @@
}
$noindex = '<meta name="robots" content="noindex"' . XHTML . '>'
. LB;
+ $pid = 0;
+ if (isset($_REQUEST['pid'])) {
+ $pid = COM_applyFilter($_REQUEST['pid'], true);
+ }
$display .= COM_siteHeader('menu', $LANG03[1], $noindex)
- . CMT_commentForm ($title, '', $sid,
- COM_applyFilter ($_REQUEST['pid'], true), $type, $mode,
- $postmode)
+ . CMT_commentForm($title, '', $sid, $pid, $type, $mode,
+ $postmode)
. COM_siteFooter();
} else {
$display .= COM_refresh($_CONF['site_url'] . '/index.php');
More information about the geeklog-cvs
mailing list