i have the same error in osc ms2
my funktion in the general.php
////
// Verify if Payment is allowed
function tep_get_payment_unallowed ($pay_check) {
global $customer_id;
$payments = tep_db_query("select customers_payment_unallowed from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'");
$payments_not_allowed = tep_db_fetch_array($payments);
$payments_unallowed = explode (",",$payments_not_allowed['customers_payment_unallowed']);
$clearance = (!in_array ($pay_check, $payments_unallowed)) ? true : false;
return $clearance;
}
regards
rainer