From 2f11f56d323cc7a559ecc42f521083301479920e Mon Sep 17 00:00:00 2001 From: kondou Date: Thu, 18 Apr 2013 18:28:03 +0200 Subject: Use !== and === in files_trashbin-app --- apps/files_trashbin/ajax/delete.php | 2 +- apps/files_trashbin/ajax/undelete.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/files_trashbin/ajax') diff --git a/apps/files_trashbin/ajax/delete.php b/apps/files_trashbin/ajax/delete.php index 16c39ab3853..92361b65f63 100644 --- a/apps/files_trashbin/ajax/delete.php +++ b/apps/files_trashbin/ajax/delete.php @@ -13,7 +13,7 @@ $success = array(); $i = 0; foreach ($list as $file) { - if ( $dirlisting=='0') { + if ( $dirlisting === '0') { $delimiter = strrpos($file, '.d'); $filename = substr($file, 0, $delimiter); $timestamp = substr($file, $delimiter+2); diff --git a/apps/files_trashbin/ajax/undelete.php b/apps/files_trashbin/ajax/undelete.php index 9d78f166765..e39004cc0d5 100644 --- a/apps/files_trashbin/ajax/undelete.php +++ b/apps/files_trashbin/ajax/undelete.php @@ -12,7 +12,7 @@ $success = array(); $i = 0; foreach ($list as $file) { - if ( $dirlisting=='0') { + if ( $dirlisting === '0') { $delimiter = strrpos($file, '.d'); $filename = substr($file, 0, $delimiter); $timestamp = substr($file, $delimiter+2); -- cgit v1.2.3