Re: special case w bug system

From: Date: Thu, 07 Sep 2000 17:53:27 +0000
Subject: Re: special case w bug system
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-1265@lists.php.net to get a copy of this message
James Moore a écrit : > > > > It seems the only difference is $edit, is it ? > > > Probably then, an edit = 1 should be added only if a cookie for CVS info > > > is detected ? > > Could we not just remove the edit and set it manually at the top of bugs.php > we may still need it set to 1 and then change the value so we can diff > between different pages to display > > somthing like....... > > if(isset($edit) && isset($cvs_magic_cookie_var_what_ever_it_is)) { > $edit = 2; > } > > James > *** Yes, sounds even better $action = (isset($edit)) ? (isset($cvs_...)) ? "full_edit" : "user_edit" : "display"; hellekin

« previous php.qa (#1265) next »