Commit 750da052 by san58

добавил второй парраметр для loadStr

1 parent 8d0bd165
......@@ -70,7 +70,7 @@ class WhoisController extends Controller
$result = Collection::getRawData(Yii::$app->params['registrators_urls'][0], $domainsArr);
if (!$result['errorno']) {//без ошибок
$dom = new Dom;
$dom->loadStr($result['data']);
$dom->loadStr($result['data'], []);
$trArr = $dom->find('.tablesorter tbody tr');
if (!count($trArr)) {
foreach ($domainsArr as $d) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!