Actions
Bug #20825
closedEnable Frontend Preview does not work until switched
Start date:
2009-08-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Files
Updated by Steffen Kamper about 15 years ago
thx for the patch, works for me. I only removed the superfluous brackets.
Actions