mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Allow '-' in attributes together with required attributes (JS problem)
SVN revision: 1929
This commit is contained in:
parent
4aa11da62d
commit
6371aa4a32
@ -1492,7 +1492,7 @@ void stou(char *str)
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < (int) strlen(str); i++)
|
for (i = 0; i < (int) strlen(str); i++)
|
||||||
if (str[i] == ' ' || str[i] == '.' || str[i] == '/' || str[i] == '\\')
|
if (str[i] == ' ' || str[i] == '.' || str[i] == '/' || str[i] == '\\' || str[i] == '-')
|
||||||
str[i] = '_';
|
str[i] = '_';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user