Re: Bug interface

From: Date: Sat, 07 Jul 2001 15:40:07 +0000
Subject: Re: Bug interface
References: 1 2 3 4  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5276@lists.php.net to get a copy of this message
> > > BTW Jim made so heavy changes to the bug system, that it will > > > take some time for me to get up to date. Please be patient, or > > > wait for Jim to come... > > > > Ok, but IMO the bug-id problem should be fixed ASAP. Aren't > > we loosing bugs this way? Or is it just a problem with > > the email-notifications? > > I'll take a look at it. The relevant part from the bug table: id int(8) NOT NULL AUTO_INCREMENT, The relevant part from the PHP code: $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','',N OW(),'$passwd')"); $cid = mysql_insert_id(); Then $cid is used for further mail sendings, etc... I don't see how 0 id's are generated... Goba

« previous php.mirrors (#5276) next »