Skip to content

Commit

Permalink
Fixed more missing returns
Browse files Browse the repository at this point in the history
  • Loading branch information
cap60552 committed Mar 21, 2008
1 parent 98a72ba commit ea8ffa3
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions sip2.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
*
* // connect to SIP server
* $result = $mysip->connect();
*
* // selfcheck status mesage goes here...
*
*
* // selfcheck status mesage goes here...
*
*
* // Get Charged Items Raw response
* $in = $mysip->msgPatronInformation('charged');
Expand Down Expand Up @@ -86,8 +86,8 @@ class sip2 {
public $debug = false;

/* Private variables for building messages */
private $AO = 'WohlersSIP';
private $AN = 'SIPCHK';
public $AO = 'WohlersSIP';
public $AN = 'SIPCHK';

/* Private variable to hold socket connection */
private $socket;
Expand Down Expand Up @@ -429,7 +429,8 @@ function parsePatronStatusResponse($response) {
);

$result['variable'] = $this->_parsevariabledata($response, 37);
}
return $result;
}

function parseCheckoutResponse($response) {
$result['fixed'] =
Expand All @@ -442,7 +443,9 @@ function parseCheckoutResponse($response) {
);

$result['variable'] = $this->_parsevariabledata($response, 24);
}
return $result;

}

function parseCheckinResponse($response) {
$result['fixed'] =
Expand All @@ -455,7 +458,9 @@ function parseCheckinResponse($response) {
);

$result['variable'] = $this->_parsevariabledata($response, 24);
}
return $result;

}

function parseACSStatusResponse($response) {
$result['fixed'] =
Expand Down

0 comments on commit ea8ffa3

Please sign in to comment.