Browse files

Minor typo in RSS feed.

  • Loading branch information...
1 parent 09067cc commit 34fdad8d508a6ee33660fb110baa47f1ba0441ac @mateusz mateusz committed Jul 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 api/RSSFeed.php
View
2 api/RSSFeed.php
@@ -339,6 +339,6 @@ function rssField($fieldName, $defaultClass = 'Varchar') {
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);
}
}

0 comments on commit 34fdad8

Please sign in to comment.