Module: appdb Branch: master Commit: 2d7a93b05c876d0459ccce91a9c529c1d08c01c2 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=2d7a93b05c876d0459ccce91a... Author: Alexander Nicolaysen Sørnes <alexander(a)kurt.alexstyrt> Date: Mon Sep 24 18:30:10 2007 +0200 objectManager: Use '===' to check for Preview requests --- include/objectManager.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/objectManager.php b/include/objectManager.php index f70c9db..4a09015 100644 --- a/include/objectManager.php +++ b/include/objectManager.php @@ -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); }