mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Attempt to sanitize data in import func
This commit is contained in:
@ -5,7 +5,7 @@ params ["_display"];
|
||||
|
||||
private _data = call (compile copyFromClipboard);
|
||||
|
||||
if !(_data isEqualType []) exitWith {
|
||||
if (isNil "_data" || {!(_data isEqualType [])}) exitWith {
|
||||
[_display, "Wrong format given"] call FUNC(message);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user