Skip to content
Snippets Groups Projects
Commit 5bdb0253 authored by Andreas Wolf's avatar Andreas Wolf Committed by Oliver Hader
Browse files

[BUGFIX] ResourceStorage: Bad comparison for strings

Resolves: #41719
Releases: 6.0
Change-Id: Idf333f303da4d3f2a26549eaf3ea28a149dbb2ee
Reviewed-on: http://review.typo3.org/15400
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
parent 5973388a
No related branches found
No related tags found
No related merge requests found
......@@ -573,7 +573,7 @@ class ResourceStorage {
return FALSE;
}
$isReadCheck = FALSE;
if (in_array($action, array('read'))) {
if ($action === 'read') {
$isReadCheck = TRUE;
}
$isWriteCheck = FALSE;
......@@ -619,7 +619,7 @@ class ResourceStorage {
return FALSE;
}
$isReadCheck = FALSE;
if (in_array($action, array('read'))) {
if ($action === 'read') {
$isReadCheck = TRUE;
}
$isWriteCheck = FALSE;
......@@ -1962,8 +1962,6 @@ class ResourceStorage {
}
return $this->processingFolder;
}
}
?>
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment