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

Thomas Hempel thomas at work.de
Thu Nov 2 11:09:52 CET 2006


Hi Ismael,

> 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.
Thanks for this, even if it is not the recommended way of supplying patches. ;-)

Greets,
Thomas


-- 
typo3-unleashed.net




More information about the TYPO3-dev mailing list