objectManager: Use '===' to check for Preview requests
This commit is contained in:
committed by
Chris Morgan
parent
c90d271886
commit
2d7a93b05c
@@ -239,7 +239,7 @@ class ObjectManager
|
|||||||
global $aClean;
|
global $aClean;
|
||||||
$oObject->getOutputEditorValues($aClean);
|
$oObject->getOutputEditorValues($aClean);
|
||||||
|
|
||||||
if($sErrors == PREVIEW_ENTRY)
|
if($sErrors === PREVIEW_ENTRY)
|
||||||
$this->show_preview($oObject, $aClean);
|
$this->show_preview($oObject, $aClean);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -669,7 +669,7 @@ class ObjectManager
|
|||||||
global $aClean;
|
global $aClean;
|
||||||
$oObject->getOutputEditorValues($aClean);
|
$oObject->getOutputEditorValues($aClean);
|
||||||
|
|
||||||
if($sErrors == PREVIEW_ENTRY)
|
if($sErrors === PREVIEW_ENTRY)
|
||||||
$this->show_preview($oObject, $aClean);
|
$this->show_preview($oObject, $aClean);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user