pull/102/head
Roland Gruber 3 years ago
parent 12581a5dc0
commit 57dcbd880d

@ -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)) {

Loading…
Cancel
Save