use triple equals

This commit is contained in:
Robin Appelman 2014-05-28 13:52:18 +02:00
parent 42a362f249
commit a432459685

View file

@ -430,7 +430,7 @@ class View {
$storage1 = $mount->getStorage();
$internalPath1 = $mount->getInternalPath($absolutePath1 . $postFix1);
list(, $internalPath2) = Filesystem::resolvePath($absolutePath2 . $postFix2);
if ($internalPath1 == '' and $mount instanceof MoveableMount) {
if ($internalPath1 === '' and $mount instanceof MoveableMount) {
/**
* @var \OC\Files\Mount\Mount | \OC\Files\Mount\MoveableMount $mount
*/