mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Minor typo in RSS feed.
This commit is contained in:
parent
09067cc8dd
commit
34fdad8d50
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user