Re: bug line 2838 formbuilder.php

From: Date: Fri, 02 Mar 2007 21:27:04 +0000
Subject: Re: bug line 2838 formbuilder.php
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26708@lists.php.net to get a copy of this message
----- Original Message ----- From: "Justin Patrin" <papercrane@gmail.com> To: "Marco Sottana" <marco.sottana@q-web.it> Cc: <pear-general@lists.php.net> Sent: Friday, March 02, 2007 4:28 PM Subject: Re: [PEAR] bug line 2838 formbuilder.php > On 3/2/07, Marco Sottana <marco.sottana@q-web.it> wrote: > > [code] > > //file new.php > > function nuovoX($head,$pk_name=null,$pk_value=null){ > > > > This code is not readable and is too much to sort through easily. > > Please just explain what you are doing to cause this to happen. > > Line 2838 of FormBuilder.php is: > if (!isset($this->_do->$pk) || !strlen($this->_do->$pk)) { > > Are you setting the $pk property of your DO with an object? $pk property is ok is created with createTables and i use it as object generated > > -- > Justin Patrin > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.5/706 - Release Date: 28/02/2007 16.09 > >

« previous php.pear.general (#26708) next »