From 2566eb94c3881cb9a5bf53174c2cd3c6e7e4bd85 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Tue, 26 Aug 2014 21:49:23 +0300 Subject: [PATCH] Add namespace to constant --- ajax/download.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajax/download.php b/ajax/download.php index c88180f7..0146514c 100644 --- a/ajax/download.php +++ b/ajax/download.php @@ -16,7 +16,7 @@ namespace OCA\Documents; $path = Helper::getArrayValueByKey($_GET, 'path'); if (!empty($path)){ - if (\OC\Files\Filesystem::getMimeType($path)!==Filter_Office::NATIVE_MIMETYPE){ + if (\OC\Files\Filesystem::getMimeType($path) !== \OCA\Documents\Filter\Office::NATIVE_MIMETYPE){ $fileInfo = \OC\Files\Filesystem::getFileInfo($path); $file = new File($fileInfo->getId()); $genesis = new Genesis($file);