Samson Mutunga 7 months ago
parent
commit
f24f188bff
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/Models/StoreOrder.php

+ 0 - 1
app/Models/StoreOrder.php

@@ -64,7 +64,6 @@ class StoreOrder extends BaseModel
     public function testsRequested(){
     public function testsRequested(){
         $tests = (array) $this->tests();
         $tests = (array) $this->tests();
         $data = [];
         $data = [];
-        if(!$tests) return $data;
         foreach($tests as $key=>$value){
         foreach($tests as $key=>$value){
             if($value){
             if($value){
                 array_push($data, $key);
                 array_push($data, $key);