mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-21 21:02:02 +01:00
hopefully final fix for the 404 in mail attachments problem
caused by typeof null !== 'undefined' :(
This commit is contained in:
parent
24087af242
commit
5303975044
@ -146,7 +146,7 @@ egw.extend('links', egw.MODULE_GLOBAL, function()
|
|||||||
*/
|
*/
|
||||||
get_mime_info: function(_type, _app_or_num)
|
get_mime_info: function(_type, _app_or_num)
|
||||||
{
|
{
|
||||||
if (typeof _app_or_num === 'undefined') _app_or_num = 1;
|
if (!_app_or_num) _app_or_num = 1;
|
||||||
let wildcard_mime;
|
let wildcard_mime;
|
||||||
for(const app of isNaN(_app_or_num) ? [_app_or_num] : Object.keys(link_registry))
|
for(const app of isNaN(_app_or_num) ? [_app_or_num] : Object.keys(link_registry))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user