[Rt-commit] r5208 - rt/branches/3.4-RELEASE/lib/RT/Interface
ruz at bestpractical.com
ruz at bestpractical.com
Thu May 11 18:24:18 EDT 2006
Author: ruz
Date: Thu May 11 18:24:17 2006
New Revision: 5208
Modified:
rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm
Log:
* if ( not $xxx || $xxx->foo ) is equivalent to
if ( not ( $xxx || $xxx->foo ) ) due to perl5 rules
which is not expected behaviour
Modified: rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm
==============================================================================
--- rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm (original)
+++ rt/branches/3.4-RELEASE/lib/RT/Interface/Email.pm Thu May 11 18:24:17 2006
@@ -642,7 +642,7 @@
last if $AuthStat == -1;
}
# {{{ If authentication fails and no new user was created, get out.
- if ( not $CurrentUser || not $CurrentUser->id || $AuthStat == -1 ) {
+ if ( !$CurrentUser || !$CurrentUser->id || $AuthStat == -1 ) {
# If the plugins refused to create one, they lose.
unless ( $AuthStat == -1 ) {
More information about the Rt-commit
mailing list