Should fix spurious 'nickname taken' and 'email taken' errors on registration. Form...
authorBrion Vibber <brion@pobox.com>
Thu, 4 Feb 2010 21:08:34 +0000 (13:08 -0800)
committerBrion Vibber <brion@pobox.com>
Thu, 4 Feb 2010 21:08:34 +0000 (13:08 -0800)
commit239b88025ef1368bb871871ee903d6b078493f76
treec21a4650f9a2ee9fa63b7289b4e3874c2e1ee5ff
parent5a1cbdc6f1e32be7b8430924a1125422d8457584
Should fix spurious 'nickname taken' and 'email taken' errors on registration. Form's checks for existing nicks & emails would incorrectly return true on the second lookup due to bad interaction with negative caching.
(was checking $obj !== false but we return null now on negative cache hits, with false for cache misses)
actions/register.php