wip block_update
This commit is contained in:
1 parent
66f77a903e
commit
1fee68a1b2
15 files changed
+29
-29
No files matched your search
@@ -11,7 +11,7 @@ class _Points
|
||||
{
|
||||
public static function grap($odds, $offer)
|
||||
{
|
||||
$block_create = Nuh::$options['b'] ?? 0;
|
||||
$block_update = Nuh::$options['b'] ?? 0;
|
||||
|
||||
foreach ($offer as $value) {
|
||||
$odds['home'] = (float) $value->o1;
|
||||
@@ -34,7 +34,7 @@ class _Points
|
||||
|
||||
if (! $res) {
|
||||
OddsPoint::create($odds);
|
||||
} elseif (! $block_create) {
|
||||
} elseif (! $block_update) {
|
||||
$res->home = $odds['home'];
|
||||
$res->away = $odds['away'];
|
||||
$res->flags = 1;
|
||||
|
||||
Reference in new issue
Block a user