summaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Helper.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-10 14:07:58 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-01 13:56:12 +0200
commite30287cf814bca99b01561df0e60fb00c59ade42 (patch)
treeb029654c0df4c4d120a1c1424a63a93733cf9d80 /apps/files/lib/Helper.php
parent45e2c415d4ff066d579ab133be4f15453c07b242 (diff)
downloadnextcloud-server-e30287cf814bca99b01561df0e60fb00c59ade42.tar.gz
nextcloud-server-e30287cf814bca99b01561df0e60fb00c59ade42.zip
Fix comparisons in the files app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files/lib/Helper.php')
-rw-r--r--apps/files/lib/Helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Helper.php b/apps/files/lib/Helper.php
index d2cebce5ddc..4a5595999d2 100644
--- a/apps/files/lib/Helper.php
+++ b/apps/files/lib/Helper.php
@@ -227,7 +227,7 @@ class Helper {
foreach ($filesById as $key => $fileWithTags) {
foreach($fileList as $key2 => $file){
- if( $file[$fileIdentifier] == $key){
+ if( $file[$fileIdentifier] === $key){
$fileList[$key2] = $fileWithTags;
}
}