From: Mikael Nordfeldth Date: Thu, 10 Mar 2016 12:46:19 +0000 (+0100) Subject: forgot 'new' after throw X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=566977c136547e0aac8ffc359abf8adc2f502273;p=quix0rs-gnu-social.git forgot 'new' after throw --- diff --git a/classes/File_thumbnail.php b/classes/File_thumbnail.php index f789a0d9a1..968883f2b8 100644 --- a/classes/File_thumbnail.php +++ b/classes/File_thumbnail.php @@ -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