fix double case statement

This commit is contained in:
ralf 2024-11-06 16:26:29 +01:00
parent 6cc35c9305
commit 0905d8f4aa

View File

@ -388,14 +388,6 @@ class Vfs extends File
return; return;
} }
break; break;
case 'vfs-name':
case 'et2-vfs-name':
if (!preg_match(self::VFS_NAME_REGEXP, $value))
{
self::set_validation_error($form_name, lang("'%1' must not contain (back)slashes!", $value));
return;
}
break;
} }
if (!empty($this->id)) $valid = $value; if (!empty($this->id)) $valid = $value;
} }