diff options
-rw-r--r-- | framework/Web/Services/TFeedService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Services/TFeedService.php b/framework/Web/Services/TFeedService.php index 00a251a7..2b6bb7e2 100644 --- a/framework/Web/Services/TFeedService.php +++ b/framework/Web/Services/TFeedService.php @@ -54,7 +54,7 @@ class TFeedService extends TService {
foreach($config->getElementsByTagName('feed') as $feed)
{
- if(($id=$feed->getAttributes()->removeAttribute('id'))!==null)
+ if(($id=$feed->getAttributes()->remove('id'))!==null)
$this->_feeds[$id]=$feed;
else
throw new TConfigurationException('feedservice_id_required');
|