diff --git a/api/RSSFeed.php b/api/RSSFeed.php index 08bcbbe07..d1da508b4 100644 --- a/api/RSSFeed.php +++ b/api/RSSFeed.php @@ -339,6 +339,6 @@ class RSSFeed_Entry extends ViewableData { function AbsoluteLink() { if($this->failover->hasMethod('AbsoluteLink')) return $this->failover->AbsoluteLink(); else if($this->failover->hasMethod('Link')) return Director::absoluteURL($this->failover->Link()); - else user_error($this->failover->class . " object has either an AbsoluteLink nor a Link method. Can't put a link in the RSS feed", E_USER_WARNING); + else user_error($this->failover->class . " object has neither an AbsoluteLink nor a Link method. Can't put a link in the RSS feed", E_USER_WARNING); } }