1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-25 00:41:52 +02:00

Bugtracker #4513 - vet comment display parameters better

This commit is contained in:
e107steved
2008-09-23 19:44:08 +00:00
parent 3f83735477
commit 01e78f056a

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/comment.php,v $
| $Revision: 1.6 $
| $Date: 2008-06-03 21:31:31 $
| $Revision: 1.7 $
| $Date: 2008-09-23 19:44:08 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -21,7 +21,8 @@ require_once(e_HANDLER."news_class.php");
require_once(e_HANDLER."comment_class.php");
define("PAGE_NAME", COMLAN_99);
if (!e_QUERY) {
if (!e_QUERY)
{
header("location:".e_BASE."index.php");
exit;
}
@@ -221,7 +222,7 @@ if ($action == "reply")
define('e_PAGETITLE', $title." / ".COMLAN_99." / ".COMLAN_102.$subject."");
require_once(HEADERF);
}
else
elseif ($action == 'comment')
{ // Default code if not reply
// Check cache
@@ -343,6 +344,11 @@ else
}
}
}
else
{ // Invalid action - just exit
header("location:".e_BASE."index.php");
exit;
}
if(isset($pref['trackbackEnabled']) && $pref['trackbackEnabled'] && $table == "news")
{