cvs: phpweb / bugs.php
| From: | Hojtsy Gabor | Date: | Sat, 07 Jul 2001 16:21:00 +0000 |
| Subject: | cvs: phpweb / bugs.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5283@lists.php.net to get a copy of this message | ||
goba Sat Jul 7 12:21:00 2001 EDT
Modified files:
/phpweb bugs.php
Log:
Hope this corrects the bug introduced by the big commit by Jim
Index: phpweb/bugs.php
diff -u phpweb/bugs.php:1.125 phpweb/bugs.php:1.126
--- phpweb/bugs.php:1.125 Sat Jul 7 11:52:01 2001
+++ phpweb/bugs.php Sat Jul 7 12:20:57 2001
@@ -250,9 +250,9 @@
show_menu($status);
echo "<hr />\n";
- $ret = mysql_query("INSERT INTO bugdb
(bug_type,email,sdesc,ldesc,php_version,php_os,status,ts1,passwd) VALUES
('$bug_type','$email','$sdesc','$ldesc','$php_version','$php_os','Open','',NOW(),'$passwd')");
+ $ret = mysql_query("INSERT INTO bugdb
(bug_type,email,sdesc,ldesc,php_version,php_os,status,ts1,passwd) VALUES
('$bug_type','$email','$sdesc','$ldesc','$php_version','$php_os','Open',NOW(),'$passwd')");
echo mysql_error();
-
+
$cid = mysql_insert_id();
$report = "";