[TYPO3-core] RFC: Bug #4951: SQL error when editing BE User

Oliver Hader oh at inpublica.de
Fri Feb 16 15:03:07 CET 2007


Hi Michael,

Michael Stucki wrote:
> This is a SVN patch request.
> 
> +				if ($TCA[$table]['ctrl']['versioningWS'])	{
> +					$pid_list_tmp = preg_replace('/^\-1,/','',$pid_list_tmp);
> +				}

Hm, shouldn't it be "if (!$TCA[$table]['ctrl']['versioningWS'])"?
If workspaces are not allowed for the table the "-1" isn't as well.


olly
-- 
Oliver Hader
http://inpublica.de/


More information about the TYPO3-team-core mailing list