only return first payment type

This commit is contained in:
Devin Smith 2015-04-01 15:38:10 -07:00
parent 503493ce3f
commit dad38bfd75

View File

@ -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(){