[TYPO3-core] RFC #14982: Save and view only working with content and pages

Ingo Schmitt spam at marketing-factory.de
Fri Jul 16 18:11:54 CEST 2010


Hi Caspar,

thanks for your help.

@CoreTeam: Reminder 1

This is a patch needed for the next steps to make Workspaces usable for 
extensions.

Thank you and best regards

Ingo
> Dear Ingo,
> 
> you used the wrong bug id in the subject ... #14983 is correct
> 
> your patchline
> 
> if (is_array($pagesTSC['common.']['table.'][$table.'.']) &&
> is_int($pagesTSC['options.']['table.'][$table.'.']['FePreviewPid'])) {
> 
> does not work.
> 
> first: you are using a wrong array-key ('options.') in the second
> statement, it has to be 'common.'
> 
> second: the value of 'FePreviewPid' is not an int, it is a numeric string.
> So you have to use is_numeric()
> 
> added corrected patch.
> 
> after correction: +1 in reading and testing
> 
> Caspar
> 



Mit freundlichen Gruessen
-- 
Ingo Schmitt                        mailto:is at marketing-factory.de
Marketing Factory Consulting GmbH   http://typo3.marketing-factory.de/
Content Management mit Typo3: Beratung - Schulung - Realisierung


More information about the TYPO3-team-core mailing list