|
@@ -63,7 +63,7 @@ class StoreOrder extends BaseModel
|
|
|
}
|
|
|
|
|
|
public function testsRequested(){
|
|
|
- $tests = $this->tests();
|
|
|
+ $tests = (array) $this->tests();
|
|
|
$data = [];
|
|
|
foreach($tests as $key=>$value){
|
|
|
if($value){
|
|
@@ -73,7 +73,7 @@ class StoreOrder extends BaseModel
|
|
|
return $data;
|
|
|
}
|
|
|
public function partnerTestsRequested(){
|
|
|
- $tests = $this->partnerTests();
|
|
|
+ $tests = (array) $this->partnerTests();
|
|
|
$data = [];
|
|
|
foreach($tests as $key=>$value){
|
|
|
if($value){
|