func_export: Use correct function argument as variable name.

Fixes #208

(cherry picked from commit b8aee4a2c6)
pull/886/head
Sean Bright 2 years ago committed by Asterisk Development Team
parent ef7a9e91fe
commit 29fbf1b2c8

@ -84,7 +84,7 @@ static int func_export_write(struct ast_channel *chan, const char *function, cha
return -1;
}
pbx_builtin_setvar_helper(ochan, data, value);
pbx_builtin_setvar_helper(ochan, args.var, value);
ast_channel_unref(ochan);
return 0;
}

Loading…
Cancel
Save