On 8/23/07, Glenn Henshaw <thraxisp@...> wrote:
> On 22-Aug-07, at 12:17 PM, KM wrote:
> > Boy do i feel stupid now. Worked like a charm. I do remember
> > other times when I had to remove quotes. It's always been this way
> > - but now I guess mantis is checking more strictly (??).
> It all depends on the coding of the checks. If 'ON' is compared
> against a number, it evaluates to 0 (which we define as OFF). It's a
> common mistake in weakly typed languages.
This happened more than once, so I wonder if we could improve this by
checking the expected type of configuration parameters.
Depending on the complexity/computational cost of the operation, we
may choose to do it using a specific page in the /admin directory