[AppDB] search

Jonathan Ernst Jonathan at ErnstFamily.ch
Mon Dec 13 15:18:20 CST 2004


This patch fixes /search.php problems since the
introduction of register_globals=0.

CHANGELOG:
- replaced global vars with superglobals equivalent

File changed:
- search.php






-------------- next part --------------
Index: search.php
===================================================================
RCS file: /home/wine/appdb/search.php,v
retrieving revision 1.3
diff -u -r1.3 search.php
--- search.php	12 Dec 2004 03:51:51 -0000	1.3
+++ search.php	13 Dec 2004 21:10:54 -0000
@@ -16,7 +16,7 @@
 {
 	// do something
 	echo html_frame_start("","98%");
-	echo "No matches found for $q\n";
+	echo "No matches found for ".$_REQUEST['q']."\n";
 	echo html_frame_end();
 }
 else


More information about the wine-patches mailing list