]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/ReversedFileReader.php
Merge pull request #12397 from HankG/fix-photo-get-without-scale-arg
[friendica.git] / src / Util / ReversedFileReader.php
index cda78ad0abb0b76037f6cfccf22eb308de262ef5..2ef062152c9e590203c23ad499b009f60c82335d 100644 (file)
@@ -60,7 +60,7 @@ class ReversedFileReader implements \Iterator
                $this->fh = fopen($filename, 'r');
                if (!$this->fh) {
                        // this should use a custom exception.
-                       throw \Exception("Unable to open $filename");
+                       throw new \Exception("Unable to open $filename");
                }
                $this->filesize = filesize($filename);
                $this->pos      = -1;