Minor typo in RSS feed.

This commit is contained in:
Mateusz Uzdowski 2012-07-20 09:08:40 +12:00
parent 09067cc8dd
commit 34fdad8d50

View File

@ -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);
}
}