[Bps-public-commit] RT-BugTracker branch, master, updated. a133cc6fb1ee886ca9f50c644d63bec5b7ddc6da

Thomas Sibley trs at bestpractical.com
Tue Sep 25 13:50:24 EDT 2012


The branch, master has been updated
       via  a133cc6fb1ee886ca9f50c644d63bec5b7ddc6da (commit)
      from  a8e6854159f13afbb589e5be257c9fa8e93e134c (commit)

Summary of changes:
 etc/initialdata | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit a133cc6fb1ee886ca9f50c644d63bec5b7ddc6da
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Sep 25 10:49:58 2012 -0700

    Logic bug; Create or Correspond is OK

diff --git a/etc/initialdata b/etc/initialdata
index cab80d8..3457fee 100644
--- a/etc/initialdata
+++ b/etc/initialdata
@@ -12,7 +12,7 @@
         ScripCondition => 'User Defined',
         CustomIsApplicableCode => q[
             my $type = $self->TransactionObj->Type;
-            return 0 if $type ne 'Create' && $type ne 'Correspond';
+            return 0 if $type ne 'Create' or $type ne 'Correspond';
             return 1;
         ],
         ScripAction    => 'Notify Additional Addresses',

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list