[Svn-src-all:2708] [version-2_12-dev 21607] #1655 仮会員にメールマガジンが配信される の対応

pingpong admin @ mail.ec-cube.net
2012年 3月 7日 (水) 20:40:12 JST


Subversion committed to /home/svn/open 21607
http://svn.ec-cube.net/open_trac/changeset/21607
┌────────────────────────────┐
│更新者 :  pingpong                                     │
│更新日時:  2012-03-07 20:40:12 +0900 (水, 07  3月 2012)│
└────────────────────────────┘

Log:
--------------------------------------------------------
#1655 仮会員にメールマガジンが配信される の対応


Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
U   branches/version-2_12-dev/data/class/SC_CustomerList.php

変更: branches/version-2_12-dev/data/class/SC_CustomerList.php
===================================================================
--- branches/version-2_12-dev/data/class/SC_CustomerList.php	2012-03-07 10:57:59 UTC (rev 21606)
+++ branches/version-2_12-dev/data/class/SC_CustomerList.php	2012-03-07 11:40:12 UTC (rev 21607)
@@ -172,14 +172,15 @@
         if ($mode == 'customer') {
             // メルマガ受け取りの選択項目がフォームに存在する場合
             if (isset($this->arrSql['search_htmlmail'])) {
-                if (SC_Utils_Ex::sfIsInt($this->arrSql['search_htmlmail'])) {
-                    $this->setWhere('mailmaga_flg = ?');
-                    $this->arrVal[] = $this->arrSql['search_htmlmail'];
-                } else {
-                    // メルマガ購読拒否は省く
-                    $this->setWhere('mailmaga_flg <> 3');
-                }
-            }
+		    $this->setWhere('status = 2');
+		    if (SC_Utils_Ex::sfIsInt($this->arrSql['search_htmlmail'])) {
+			    $this->setWhere('mailmaga_flg = ?');
+			    $this->arrVal[] = $this->arrSql['search_htmlmail'];
+		    } else {
+			    // メルマガ購読拒否は省く
+			    $this->setWhere('mailmaga_flg <> 3');
+		    }
+	    }
         }
 
         // 配信メールアドレス種別




Svn-src-all メーリングリストの案内