[TYPO3-workflow] PHP4 bug fixed.

Martin Clewing mpc at clewing.de
Mon Oct 24 14:33:16 CEST 2005


Rupert Germann schrieb:
> Martin Clewing wrote:
> 
> 
>>Has anyone found a solution yet?
> 
> 
> yep, there's a "this" missing in function createNewRecord() (in
> class.tx_sysworkflows_executor.php):
> 
> 
> wrong: 
> -               if ($tce->substNEWwithIDs['NEW']) {
> -                       return $table.':'.$tce->substNEWwithIDs['NEW'];
> -               }
> 
> correct:
> +               if ($id = $this->tce->substNEWwithIDs['NEW']) {
> +                       return $table.':'.$id;
> +               }
> 
> 
> greets
> rupert
> 
> ps: I sent the patch to julle
> 

Hi Mr. News-Man!

Thanks a lot! It works now. Not yet perfect, but it's a start!

regards,
Martin



More information about the TYPO3-project-workflow mailing list