Popraw obsługę błędów i optymalizację połączeń z Redis w różnych klasach
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
global $gdb;
|
||||
foreach ( $this -> apilo_payment_types_list as $payment_type )
|
||||
{
|
||||
$payment_types[ $payment_type['id'] ] = $payment_type['name'];
|
||||
if ( isset( $payment_type['name'] ) && isset( $payment_type['id'] ) )
|
||||
$payment_types[ $payment_type['id'] ] = $payment_type['name'];
|
||||
}
|
||||
// sellasist payment methods
|
||||
$sellasist_payment_types_list = [];
|
||||
|
||||
Reference in New Issue
Block a user