Commit dc18de7f authored by Steve Mokris's avatar Steve Mokris Committed by Adriano
Browse files

Issue #3299826 by smokris: "Warning: fopen(1): failed to open stream: `8' is...

Issue #3299826 by smokris: "Warning: fopen(1): failed to open stream: `8' is not a valid mode for fopen"
parent 7a80937e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -221,7 +221,7 @@ class HttpClient implements HttpClientInterface {
    $config['handler'] = HandlerStack::create();

    if (isset($config['debug']) && !is_bool($config['debug'])) {
      if ($debug_file = fopen($config['debug'], FILE_APPEND)) {
      if ($debug_file = fopen($config['debug'], 'a')) {
        $config['debug'] = $debug_file;
      }
      else {