]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
forgot 'new' after throw
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 10 Mar 2016 12:46:19 +0000 (13:46 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 10 Mar 2016 12:46:19 +0000 (13:46 +0100)
classes/File_thumbnail.php

index f789a0d9a1637647efb13307c60be98f80d5fa7c..968883f2b86dc520656d41f68dc0e4b1d63c48db 100644 (file)
@@ -188,7 +188,7 @@ class File_thumbnail extends Managed_DataObject
                 $file_filename = $this->getFile()->getFilename();
             } catch (NoResultException $e) {
                 // reasonably the function calling us will handle the following as "File_thumbnail entry should be deleted"
-                throw FileNotFoundException($thumbpath);
+                throw new FileNotFoundException($thumbpath);
             } catch (InvalidFilenameException $e) {
                 // invalid filename in getFile()->getFilename(), just
                 // means the File object isn't stored locally and that