cvs: php-bugs-web / bug.php
| From: | jim winstead | Date: | Sat, 03 Nov 2001 21:22:43 +0000 |
| Subject: | cvs: php-bugs-web / bug.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-7303@lists.php.net to get a copy of this message | ||
jimw Sat Nov 3 16:22:43 2001 EDT
Modified files:
/php-bugs-web bug.php
Log:
some browsers (like 'links') don't like mixing get and post stuff like this.
Index: php-bugs-web/bug.php
diff -u php-bugs-web/bug.php:1.4 php-bugs-web/bug.php:1.5
--- php-bugs-web/bug.php:1.4 Mon Oct 29 18:31:26 2001
+++ php-bugs-web/bug.php Sat Nov 3 16:22:43 2001
@@ -128,7 +128,8 @@
/* DISPLAY BUG */
if ($edit) {
- echo "<form method=\"POST\" action=\"$PHP_SELF?id=$id\">\n";
+ echo "<form method=\"POST\" action=\"$PHP_SELF\">\n";
+ echo "<input type=\"hidden\" name=\"id\"
value=\"$id\">\n";
echo "<input type=\"hidden\" name=\"edit\"
value=\"$edit\">\n";
}
if ($edit==1)