aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-12 00:05:45 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-12 00:05:45 +0000
commit8286bc81250ccb9f558a52b9589a79d0f2eee306 (patch)
treec89fab593e74371e4134f43c1ce786dcd425af63 /funcs
parent4709d25e8c31fc101b0abb6fd4a606daee28e8e7 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@27085 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_logic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_logic.c b/funcs/func_logic.c
index f748ba939..c8ff599b3 100644
--- a/funcs/func_logic.c
+++ b/funcs/func_logic.c
@@ -115,7 +115,7 @@ static char *builtin_function_if(struct ast_channel *chan, char *cmd, char *data
if (iffalse)
iffalse = ast_strip_quoted(iffalse, "\"", "\"");
- if ((ret = ast_true(expr) ? iftrue : iffalse)) {
+ if ((ret = pbx_checkcondition(expr) ? iftrue : iffalse)) {
ast_copy_string(buf, ret, len);
ret = buf;
}