Update of /cvsroot/meshdb/src/mailt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6602
Modified Files:
Tag: leonard-dev
subjects.php
Log Message:
QUERY_STRING comes from $_SERVER
Index: subjects.php
===================================================================
RCS file: /cvsroot/meshdb/src/mailt/subjects.php,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -d -r1.2 -r1.2.2.1
--- subjects.php 23 Oct 2003 01:20:02 -0000 1.2
+++ subjects.php 8 Nov 2004 13:21:26 -0000 1.2.2.1
@@ -107,11 +107,11 @@
* of the found [YYYYMMDD]-[YYYYMMDD]
*/
- if ($QUERY_STRING == "") {
+ if ($_SERVER[QUERY_STRING] == "") {
$start_t = mktime(0,0,0,date("m"), 1, date("Y"));
$finish_t= mktime(0,0,0,date("m")+1, 1, date("Y")) - 1;
} else {
- list($start, $finish) = explode("-", $QUERY_STRING, 2);
+ list($start, $finish) = explode("-", $_SERVER[QUERY_STRING], 2);
if ($start == "") $start_t = $first_m["date"];
else $start_t = parsetime($start);
|