[TYPO3-workflow] PHP4 bug fixed.

Rupert Germann rupi at gmx.li
Mon Oct 24 13:49:04 CEST 2005


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




More information about the TYPO3-project-workflow mailing list