X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FLinkFilter.php;h=12376e27dc3aefe540960afbb0c194ec6ad55c16;hb=658988f3aeba7a5a938783249ccf2765251e5597;hp=99ecd1e238640bbba9fc32c60cdaeaabedba16d8;hpb=341527bae96e0d1c6a0cb5dfc790eacb3ef58bf8;p=github%2Fshaarli%2FShaarli.git diff --git a/application/LinkFilter.php b/application/LinkFilter.php index 99ecd1e2..12376e27 100644 --- a/application/LinkFilter.php +++ b/application/LinkFilter.php @@ -444,5 +444,11 @@ class LinkFilter class LinkNotFoundException extends Exception { - protected $message = 'The link you are trying to reach does not exist or has been deleted.'; + /** + * LinkNotFoundException constructor. + */ + public function __construct() + { + $this->message = t('The link you are trying to reach does not exist or has been deleted.'); + } }