Opened 18 years ago
Closed 18 years ago
#1830 closed enhancement (duplicate)
Test if runtime variable is defined
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | MapServer CGI | Version: | unspecified |
Severity: | minor | Keywords: | |
Cc: |
Description
I wish it were possible to have an EXPRESSION to test if a variable is defined. I would like to be able to test this: EXPRESSION (defined '%key%') or EXPRESSION ('%key%' != NULL) The problem is that %key% is not replaced in case no 'key' is passed through query_string, and you get a literal '%key%' string in your expression instead of a null value. I found a workaround for this: EXPRESSION (('%key%' lt '%key$' or '%key%' gt '%key
Note:
See TracTickets
for help on using tickets.