diff --git a/bridges/VkBridge.php b/bridges/VkBridge.php index 6f01655..b5ddb35 100644 --- a/bridges/VkBridge.php +++ b/bridges/VkBridge.php @@ -2,8 +2,6 @@ class VkBridge extends BridgeAbstract { - private $request; - public function loadMetadatas() { $this->maintainer = "ahiles3005"; $this->name = "VK.com"; @@ -21,8 +19,8 @@ class VkBridge extends BridgeAbstract { $param=$this->parameters[$this->queriedContext]; $html = ''; if (isset($param['u']['value'])) { - $this->request = $param['u']['value']; - $text_html = $this->getSimpleHTMLDOM(urldecode($this->request)) or $this->returnServerError('No results for this query.'); + $text_html = $this->getSimpleHTMLDOM(urldecode($param['u']['value'])) + or $this->returnServerError('No results for this query.'); $text_html = iconv('windows-1251', 'utf-8', $text_html); $html = str_get_html($text_html); }