Skip to content

Commit

Permalink
Merge pull request #151 from multnomah-county-it/dev
Browse files Browse the repository at this point in the history
Log update response only if debug/update is true
  • Loading branch information
john-c-houser authored Sep 26, 2024
2 parents 6e44943 + 382bbcc commit 5bf0904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Libilsws.php
Original file line number Diff line number Diff line change
Expand Up @@ -2616,7 +2616,7 @@ public function update_phone_list ($phone_list, $token = null, $patron_key = nul
$response = $this->send_query($this->base_url . "/user/patron/key/$patron_key", $token, $json, 'PUT', $options);

if ( $this->config['debug']['update'] ) {
print_r($response);
error_log('DEBUG_UPDATE ' . json_encode($response, JSON_PRETTY_PRINT), 0);
}

$return_code = 0;
Expand Down

0 comments on commit 5bf0904

Please sign in to comment.