Index: typo3/sysext/cms/tslib/class.tslib_fe.php
===================================================================
--- typo3/sysext/cms/tslib/class.tslib_fe.php (revision 6361)
+++ typo3/sysext/cms/tslib/class.tslib_fe.php (working copy)
@@ -3822,8 +3822,8 @@
* @return void
*/
function previewInfo() {
- if ($this->fePreview) {
- if ($this->fePreview==2) {
+ if ($this->fePreview) {
+ if ($this->fePreview === 2) {
$onclickForStoppingPreview = 'document.location="'.t3lib_div::getIndpEnv('TYPO3_SITE_URL').'index.php?ADMCMD_prev=LOGOUT&returnUrl='.rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')).'";return false;';
$text = 'Preview of workspace "'.$this->whichWorkspace(TRUE).'" ('.$this->whichWorkspace().')';
$html = $this->doWorkspacePreview() ? '
' : '';
@@ -3834,7 +3834,7 @@
$stdMsg = '