[rt-devel] Re: My first code contribution : approvals
darren chamberlain
darren at boston.com
Mon Mar 24 09:52:35 EST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
* THAUVIN Blaise (Dir. Informatique) <bthauvin at clearchannel.fr> [2003-03-24 02:31]:
>
> On lundi 24 mars 2003 01:17, Autrijus Tang wrote:
>
> if (lc($ticket->Type) eq 'approval') {
^^
> > > but really, I don't see the point of case insensitiveness...
>
> It's only because the database record is "Approval" and not "approval" as
> expected. If it ever changes, the code would break.
No, it wouldn't -- he's using lc.
(darren)
- --
We must respect the other fellow's religion, but only in the sense and
to the extent that we respect his theory that his wife is beautiful
and his children smart.
-- H.L.Mencken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (SunOS)
iD8DBQE+fxuyzsinjrVhZaoRAlW+AKCcPoSNljNYK4vNBcSCAHx0mI0NGgCgpb0O
xcKBNRheDIyi6vRIl7tCkLQ=
=0syb
-----END PGP SIGNATURE-----
More information about the Rt-devel
mailing list