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

Thomas Sibley trs at bestpractical.com
Tue Sep 25 13:58:14 EDT 2012


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

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

- Log -----------------------------------------------------------------
commit 66b3a8eddcc673345c36993f0ff329dfb8c96a6a
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Sep 25 10:57:52 2012 -0700

    Revert "Logic bug; Create or Correspond is OK"
    
    sigh, the logic bug was only in my head ;)
    
    This reverts commit a133cc6fb1ee886ca9f50c644d63bec5b7ddc6da.

diff --git a/etc/initialdata b/etc/initialdata
index 3457fee..cab80d8 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' or $type ne 'Correspond';
+            return 0 if $type ne 'Create' && $type ne 'Correspond';
             return 1;
         ],
         ScripAction    => 'Notify Additional Addresses',

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



More information about the Bps-public-commit mailing list