cvs: pearweb /public_html wishlist.php
| From: | Martin Jansen | Date: | Sat, 14 Dec 2002 17:07:30 +0000 |
| Subject: | cvs: pearweb /public_html wishlist.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7882@lists.php.net to get a copy of this message | ||
mj Sat Dec 14 12:07:30 2002 EDT
Modified files:
/pearweb/public_html wishlist.php
Log:
* Fix warning.
Index: pearweb/public_html/wishlist.php
diff -u pearweb/public_html/wishlist.php:1.2 pearweb/public_html/wishlist.php:1.3
--- pearweb/public_html/wishlist.php:1.2 Sun Jun 9 18:49:03 2002
+++ pearweb/public_html/wishlist.php Sat Dec 14 12:07:30 2002
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: wishlist.php,v 1.2 2002/06/09 22:49:03 richard Exp $
+ $Id: wishlist.php,v 1.3 2002/12/14 17:07:30 mj Exp $
*/
if (empty($user)) {
$user = @$_GET['handle'];
@@ -34,6 +34,8 @@
header("Location: $url");
-print "<a href=\"$url\">click here to go to $_GET[handle]'s
wishlist</a>\n";
-
+printf("<a href=\"%s\">click here to go to %s's wishlist</a>",
+ $url,
+ $user
+ );
?>