objectManager: Use '===' to check for Preview requests

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-09-24 18:30:10 +02:00
committed by Chris Morgan
parent c90d271886
commit 2d7a93b05c

View File

@@ -239,7 +239,7 @@ class ObjectManager
global $aClean;
$oObject->getOutputEditorValues($aClean);
if($sErrors == PREVIEW_ENTRY)
if($sErrors === PREVIEW_ENTRY)
$this->show_preview($oObject, $aClean);
}
@@ -669,7 +669,7 @@ class ObjectManager
global $aClean;
$oObject->getOutputEditorValues($aClean);
if($sErrors == PREVIEW_ENTRY)
if($sErrors === PREVIEW_ENTRY)
$this->show_preview($oObject, $aClean);
}