wip
This commit is contained in:
1 parent
329aa1a5e4
commit
965c7fca90
2 files changed
+7
-1
No files matched your search
@@ -26,6 +26,7 @@ class Logifuture
|
||||
public static function switch()
|
||||
{
|
||||
$debug = Nuh::$options['d'] ?? 0;
|
||||
$echo_data = Nuh::$options['e'] ?? 0;
|
||||
|
||||
$sportmap = Sport::map('logi', 1, [Nuh::$options['sport_id']]);
|
||||
|
||||
@@ -41,6 +42,10 @@ class Logifuture
|
||||
|
||||
$matches = LogifutureData::load($logifuture_sport_id);
|
||||
|
||||
if ($echo_data) {
|
||||
Notice::note($matches, 'g');
|
||||
}
|
||||
|
||||
if (! is_array($matches)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user