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