diff --git a/src/Libilsws.php b/src/Libilsws.php index e3f3ce4..527c4c5 100644 --- a/src/Libilsws.php +++ b/src/Libilsws.php @@ -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;