mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-07 05:50:13 +01:00
* Wiki: allow German umlauts and other non-ascii chars in page names
Api: Fix encodeId() failed with integers
This commit is contained in:
parent
e07410d99f
commit
bf03f4b198
@ -493,6 +493,10 @@ class Storage
|
||||
{
|
||||
return array_map([__CLASS__, __METHOD__], $id);
|
||||
}
|
||||
if(is_integer($id))
|
||||
{
|
||||
return '' . $id;
|
||||
}
|
||||
return substr(json_encode($id, JSON_UNESCAPED_SLASHES), 1, -1);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user