cvs: phpweb / bugs.php
| From: | Jim Winstead | Date: | Sat, 10 Feb 2001 17:46:53 +0000 |
| Subject: | cvs: phpweb / bugs.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-3897@lists.php.net to get a copy of this message | ||
jimw Sat Feb 10 09:46:53 2001 EDT
Modified files:
/phpweb bugs.php
Log:
hey, developers weren't being allowed to update the version. that's not nice.
Index: phpweb/bugs.php
diff -u phpweb/bugs.php:1.79 phpweb/bugs.php:1.80
--- phpweb/bugs.php:1.79 Thu Feb 1 09:14:16 2001
+++ phpweb/bugs.php Sat Feb 10 09:46:52 2001
@@ -601,7 +601,7 @@
if(crypt($pw,substr($psw,0,2))==$psw) {
$ts=date("Y-m-d H:i:s");
$result = mysql_query("select status, bug_type, ldesc, php_version, php_os from bugdb
where id=$id");
- mysql_query("UPDATE bugdb set sdesc='$esdesc',status='$estatus',
bug_type='$ebug_type', assign='$eassign', comments='$comments',
ts2='$ts', dev_id='$user' where id=$id");
+ mysql_query("UPDATE bugdb set sdesc='$esdesc',status='$estatus',
bug_type='$ebug_type', assign='$eassign', comments='$comments',
ts2='$ts', dev_id='$user', php_version='$ephp_version' where
id=$id");
if (!empty($ncomment)) {
mysql_query("INSERT INTO bugdb_comments (bug, email, ts, comment) VALUES
($id,'".$user."@php.net','$ts','$ncomment')");
}