Fixed an array_combine object issue.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 18 Jan 2017 14:32:57 +0000 (15:32 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 18 Jan 2017 14:32:57 +0000 (15:32 +0100)
includes/ui/ui_lists.inc

index 2cc16888e5fdbd15a94e587fccbadc0ca1691843..cd3be97c047a562b874810984867b9a61bf2b0d0 100644 (file)
@@ -2367,7 +2367,7 @@ function payment_services($name)
 {
        global $payment_services;
 
-       $services = array_combine(array_keys($payment_services), array_keys($payment_services));
+       $services = (object)array_combine(array_keys($payment_services), array_keys($payment_services));
 
        return array_selector($name, null, $services, array(
                        'spec_option'=> _("No payment Link"),