This commit is contained in:
Roland Gruber 2020-06-14 21:34:19 +02:00
parent 12581a5dc0
commit 57dcbd880d
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ function getSelfServiceProfiles() {
*
* @param string $name profile name
* @param string $scope account type
* @return selfServiceProfile true if file was readable
* @return selfServiceProfile|false profile if file was readable, false otherwise
*/
function loadSelfServiceProfile($name, $scope) {
if (!preg_match("/^[0-9a-z _-]+$/i", $name) || !preg_match("/^[0-9a-z _-]+$/i", $scope)) {