1
This commit is contained in:
parent
ebdec56058
commit
d89ae88620
@ -15,7 +15,7 @@ class BoxOrder extends BaseModel {
|
|||||||
array(
|
array(
|
||||||
':batch_idx' => $batchIdx
|
':batch_idx' => $batchIdx
|
||||||
));
|
));
|
||||||
return $row && $row['sold_num'] ? $row['sold_num'] : 0;
|
return $row && $row['sold_num'] ? (int)$row['sold_num'] : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isBuyed($buyerAddress, $batchIdx)
|
public function isBuyed($buyerAddress, $batchIdx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user