[TYPO3-dev] bug dynaflex ? new element $this->ceUid == $this->cePid

Ismael BIDAU bidau at ensci.com
Thu Nov 2 09:42:02 CET 2006


Hi,

in class.dynaflex.php, line 120, I change the code with :

			$this->ceUid = array_keys($contentInfo[$this->ceTable]);
			$isitnew = array_values($contentInfo);
			$isitnew2 = array_values($isitnew[0]);
			if($isitnew2[0]!='new') {
				$this->ceUid = intval($this->ceUid[0]);
			} else {
				$this->ceUid = 0;
			}

Now $this->ceUid doesn't take the value of pid for a new record. It works  
for me.

Hope it could helps somebody else.

Ismaël BIDAU
www.ensci.com




More information about the TYPO3-dev mailing list