Skip to content

Commit

Permalink
Fix "Passing null to parameter #1 ($string) of type string is depreca…
Browse files Browse the repository at this point in the history
…ted" on PHP 8.1
  • Loading branch information
e8n authored and michael-o committed Oct 28, 2024
1 parent d2fc314 commit eb6cf4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/configclass.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function __construct($name, $svnName, $serverRootURL, $group = null, $username =
$this->group = $group;
$this->username = $username;
$this->password = $password;
$this->clientRootURL = rtrim($clientRootURL, '/');
$this->clientRootURL = $clientRootURL !== null ? rtrim($clientRootURL, '/') : null;
}

// }}}
Expand Down

0 comments on commit eb6cf4e

Please sign in to comment.