From: x99bachelart Date: Tue, 9 Sep 2003 15:23:18 +0000 (+0000) Subject: bugfix + custom css classes X-Git-Tag: 1.8~420 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=ab19256358d1b808399fec7d8e43a891c1670b62;p=banana.git bugfix + custom css classes --- diff --git a/post.php b/post.php index 5b4a3b3..df2a5e7 100644 --- a/post.php +++ b/post.php @@ -22,8 +22,12 @@ $profile = getprofile(); require($profile['locale']); require("include/header.inc.php"); -$group=htmlentities(strtolower($_REQUEST['group'])); -$id=htmlentities(strtolower($_REQUEST['id'])); +if (isset($_REQUEST['group'])) { + $group=htmlentities(strtolower($_REQUEST['group'])); +} +if (isset($_REQUEST['id'])) { + $id=htmlentities(strtolower($_REQUEST['id'])); +} if (isset($group)) { $target = $group; @@ -62,7 +66,7 @@ if (isset($group) && isset($id) && isset($_REQUEST['type']) && $mynntp->quit(); ?> -
+
- +
-
@@ -133,14 +137,14 @@ displayshortcuts();
+ - +