|
Loading...
|
rt-devel@lists.bestpractical.com
[Prev] Thread [Next] | [Prev] Date [Next]
[Rt-devel] FIXED: Can't add new watchers by principal ID via web Richard Harman Mon Feb 19 12:11:31 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
With Ruslan steering me in the right direction, I found the problem:
This diff is against 3.7-EXPERIMENTAL-RTIR-2.2, Web.pm rev. 7022. This
resolves a clobbered regex-match $1 by stashing the principal ID in a
temporary variable.
The issue was this: each successful m// match resets $1 .. $9. Even
though in the diff I use m/(?:x|y|z)/, the numbered match variables
still get reset to undef. :/
- -----------------------------------------------------------
"Looks like there'll be no money for you, Crazy Round Man."
- Samurai Jack
Richard G Harman Jr <[EMAIL PROTECTED]>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFF2Oo93rKdb192Vz8RAjaGAJ9VKgBsdesXS2XL51Sqddm4+7InEACeM3jQ
begbTBAWMeqCvAxjDwZ68Ec=
=n2SQ
-----END PGP SIGNATURE-----
_______________________________________________ List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
- [Rt-devel] FIXED: Can't add new watchers by principal ID via web Richard Harman 2007/02/19 <=