Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -21,6 +21,7 @@ use IPS\Member;
|
||||
use IPS\MFA\MFAHandler;
|
||||
use IPS\nexus\Customer;
|
||||
use IPS\nexus\Customer\CreditCard;
|
||||
use IPS\nexus\Gateway;
|
||||
use IPS\Output;
|
||||
use IPS\Patterns\ActiveRecordIterator;
|
||||
use IPS\Request;
|
||||
@@ -74,7 +75,10 @@ class cards extends Controller
|
||||
protected function manage() : void
|
||||
{
|
||||
$cards = array();
|
||||
foreach ( new ActiveRecordIterator( Db::i()->select( '*', 'nexus_customer_cards', array( 'card_member=?', Customer::loggedIn()->member_id ) ), 'IPS\nexus\Customer\CreditCard' ) as $card )
|
||||
foreach ( new ActiveRecordIterator( Db::i()->select( '*', 'nexus_customer_cards', array(
|
||||
array( 'card_member=?', Customer::loggedIn()->member_id ),
|
||||
array( Db::i()->in( 'card_method', array_keys( Gateway::cardStorageGateways() ) ) )
|
||||
) ), 'IPS\nexus\Customer\CreditCard' ) as $card )
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user