wip block_update

This commit is contained in:
salam committed 2026-02-03 19:40:25 +01:00
1 parent 66f77a903e
commit 1fee68a1b2
15 files changed
+29 -29

No files matched your search

@@ -11,7 +11,7 @@ class _Totals
{
public static function grap($odds, $offer)
{
$block_create = Nuh::$options['b'] ?? 0;
$block_update = Nuh::$options['b'] ?? 0;
foreach ($offer as $value) {
$odds['over'] = (float) $value->o1;
@@ -40,7 +40,7 @@ class _Totals
if (! $res) {
OddsTotal::create($odds);
} elseif (! $block_create) {
} elseif (! $block_update) {
$res->over = $odds['over'];
$res->under = $odds['under'];
$res->flags = 1;