Issue Bug Closed

#20825Enable Frontend Preview does not work until switched

Fabrizio Branca 08/03/09, 18:14 updated 08/06/10, 13:30

Description

Problem:
The frontend preview does not work until switched at least once with “Enable Frontend Preview”. Links using t3lib_befunc::viewOnClick() will open the wrong url, because they check if top.WorkspaceFrontendPreviewEnabled if true, which it is in any case, because it is initialized with strings and string “false” is true…

Solution:
Replace strings by 0 and 1 (see patch)

(issue imported from #M11633)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.