From dad38bfd75a5caa0d4125c48073fc8c68dbface0 Mon Sep 17 00:00:00 2001 From: Devin Smith Date: Wed, 1 Apr 2015 15:38:10 -0700 Subject: [PATCH] only return first payment type --- include/library/Crunchbutton/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/library/Crunchbutton/User.php b/include/library/Crunchbutton/User.php index 6d514a013..5c21cacdf 100644 --- a/include/library/Crunchbutton/User.php +++ b/include/library/Crunchbutton/User.php @@ -261,7 +261,7 @@ class Crunchbutton_User extends Cana_Table { } public function payment_type(){ - return Crunchbutton_User_Payment_Type::getUserPaymentType( $this->id_user ); + return Crunchbutton_User_Payment_Type::getUserPaymentType( $this->id_user )->get(0); } public function getLastNote(){