Commit b72e4b77 authored by shajiaiming's avatar shajiaiming

fix

parent 94b09038
......@@ -24,7 +24,6 @@ class WarnController extends Controller
if ($key == 2) {
$string = HtmlDomParser::str_get_html($e->innertext);
if ($string->find('td')) {
foreach ($string->find('td') as $i => $td) {
if (strpos($string->find('td')[2]->innertext, '暂未公布') !== false) {
return 0;
} else {
......@@ -46,5 +45,4 @@ class WarnController extends Controller
}
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment