Popraw obsługę błędów i optymalizację połączeń z Redis w różnych klasach

This commit is contained in:
2024-11-08 00:16:19 +01:00
parent fc35061406
commit e3b4ec973b
12 changed files with 101 additions and 54 deletions

View File

@@ -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 = [];