Martin A. Brooks <martin@???> wrote:
> I have an ACL entry that pulls a value from a SQL database. If the
> database is unavailable, I'd like the entry to default to a sensible figure.
> So far I have this:
> warn set acl_m6 = ${if eq{${lookup pgsql{ATTHRESH}}{0}{60}{${lookup pgsql{ATTHRESH}}}
You are opening 9 but closing only 7 curly braces. What exactly are
you trying to do? "If lookup ... fails then 42 else ...")
cu andreas
--
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken. (c) Jasper Ffforde