From 5747faa7861502641ae86415c7c5af35bb92209c Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 12 Jul 2013 12:09:50 +0300 Subject: Allow array as argument to repairDetails() --- gsxcl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gsxcl') diff --git a/gsxcl b/gsxcl index 2bbace3..78a5add 100755 --- a/gsxcl +++ b/gsxcl @@ -116,10 +116,10 @@ switch( $noun ) { $result = $gsx->repairLookup( $data ); break; case 'details': - $result = $gsx->partsPendingReturn( $data ); + $result = $gsx->repairDetails( $data ); break; case 'status': - $result = $gsx->repairStatus( $query ); + $result = $gsx->repairStatus( $data ); break; case 'create': $json = file_get_contents( $opts['d'] ); @@ -129,13 +129,13 @@ switch( $noun ) { } case 'model': - $result = $gsx->productModel( $query ); + $result = $gsx->productModel( $data ); break; case 'osdispatchdetail': - $result = $gsx->onsiteDispatchDetail( $query ); + $result = $gsx->onsiteDispatchDetail( $data ); break; case 'label': - list($order, $part) = explode( ':', $query ); + list($order, $part) = explode( ':', $data ); $result = $gsx->returnLabel( $order, $part ); $name = $result->returnLabelFileName; echo $result->returnLabelFileData; -- cgit v1.2.3