Browse files

Fixed call to Services_oEmbded::discover() from constructor

  • Loading branch information...
1 parent 3108d99 commit dd32827943750f36deb37aa70e63714e5bb4bd23 @shupp shupp committed Jan 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Services/oEmbed.php
View
2 Services/oEmbed.php
@@ -162,7 +162,7 @@ public function __construct($url, array $options = array())
}
if ($this->options[self::OPTION_API] === null) {
- $this->options[self::OPTION_API] = $this->discover();
+ $this->options[self::OPTION_API] = $this->discover($url);
}
}

0 comments on commit dd32827

Please sign in to comment.