mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 20:51:23 +01:00
Fix mime_open handler for old etemplate
This commit is contained in:
parent
2ef3d4f048
commit
65fb3fc6be
@ -1043,11 +1043,14 @@ class egw_link extends solink
|
|||||||
$data[$data['mime_id']] = $path;
|
$data[$data['mime_id']] = $path;
|
||||||
unset($data['mime_id']);
|
unset($data['mime_id']);
|
||||||
}
|
}
|
||||||
|
elseif(isset($data['mime_popup']))
|
||||||
|
{
|
||||||
|
$popup = $data['mime_popup'];
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw new egw_exception_assertion_failed("Missing 'mime_id' or 'mime_url' for mime-type '$type'!");
|
throw new egw_exception_assertion_failed("Missing 'mime_id' or 'mime_url' for mime-type '$type'!");
|
||||||
}
|
}
|
||||||
$popup = $data['mime_popup'];
|
|
||||||
unset($data['mime_popup']);
|
unset($data['mime_popup']);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user