mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
fix double case statement
This commit is contained in:
parent
6cc35c9305
commit
0905d8f4aa
@ -388,14 +388,6 @@ class Vfs extends File
|
||||
return;
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user