Fix typo
authorJoshua Rüsweg <josh@bastelstu.be>
Tue, 8 Jan 2019 10:11:51 +0000 (11:11 +0100)
committerJoshua Rüsweg <josh@bastelstu.be>
Tue, 8 Jan 2019 10:11:51 +0000 (11:11 +0100)
See #2825

wcfsetup/install/files/lib/system/file/upload/UploadFile.class.php

index 1b3c35bb7dc1aa16ed78f05272b9008e6b50ebfc..3877295825d9dab807b4c7c586326e9fbe6979c7 100644 (file)
@@ -52,7 +52,7 @@ class UploadFile {
         * The unique id for the file.
         * @var String
         */
-       private $uniquieId;
+       private $uniqueId;
        
        /**
         * UploadFile constructor.
@@ -72,7 +72,7 @@ class UploadFile {
                $this->filesize = filesize($location);
                $this->processed = $processed;
                $this->viewableImage = $viewableImage;
-               $this->uniquieId = sha1(sha1_file($location) . sha1($location));
+               $this->uniqueId = sha1(sha1_file($location) . sha1($location));
                
                if (@getimagesize($location) !== false) {
                        $this->isImage = true;
@@ -131,7 +131,7 @@ class UploadFile {
         * @return String
         */
        public function getUniqueFileId() {
-               return $this->uniquieId;
+               return $this->uniqueId;
        }
        
        /**