Skip to content
Snippets Groups Projects
Unverified Commit a72a5a5b authored by yusufrahmatp's avatar yusufrahmatp
Browse files

Remove initialization of data

parent 681bfc60
No related merge requests found
......@@ -18,7 +18,6 @@ class Order extends Model
}
$soap = new SoapHelper();
foreach ($results as $key -> $value) {
$data = []
$data['book'] = $soap->getBookByID($results[$key]['bookID']);
$data['order'] = $soap->getTransactionByID($results[$key]['orderID']);
$results[$key]['date'] = $data['order']['timestamp'];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment