Index: pbx/pbx_ael.c =================================================================== --- pbx/pbx_ael.c (revision 138020) +++ pbx/pbx_ael.c (working copy) @@ -2658,6 +2658,11 @@ item->filename, item->startline, item->endline, item->u1.str); warns++; } + if (!strstr(item->u1.str,"$[") && (strstr(item->u1.str,"&&") || strstr(item->u1.str,"||") || strstr(item->u1.str,"=="))) { + ast_log(LOG_WARNING,"Warning: file %s, line %d-%d: expression '%s' has double operators (&&, ||, ==), but not within expressions $[...]\n", + item->filename, item->startline, item->endline, item->u1.str); + warns++; + } check_expr2_input(item,item->u1.str); check_pval(item->u2.statements, apps,in_globals); if (item->u3.else_statements) {