[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix for "Edit Account" -> Save action loosing GIFI
- Subject: Re: Fix for "Edit Account" -> Save action loosing GIFI
- From: Erik Huelsmann <..hidden..>
- Date: Sun, 29 May 2011 18:24:18 +0200
Heh!
You're too quick. I had a follow up ready which I was going to send
after dinner - which is now.
Anyway: thanks!
Bye,
Erik.
On Sun, May 29, 2011 at 6:20 PM, Chris Travers <..hidden..> wrote:
> On Sun, May 29, 2011 at 4:16 AM, Erik Huelsmann <..hidden..> wrote:
>
>> This patch fixes the issue at hand:
>>
>>
>>
>> Index: sql/modules/Account.sql
>> ===================================================================
>> --- sql/modules/Account.sql (revision 3186)
>> +++ sql/modules/Account.sql (working copy)
>> @@ -54,7 +54,7 @@
>>
>> CREATE OR REPLACE FUNCTION account_save
>> (in_id int, in_accno text, in_description text, in_category char(1),
>> -in_gifi text, in_heading int, in_contra bool, in_link text[])
>> +in_gifi_accno text, in_heading int, in_contra bool, in_link text[])
>> RETURNS int AS $$
>> DECLARE
>> t_heading_id int;
>> @@ -89,7 +89,7 @@
>> SET accno = in_accno,
>> description = in_description,
>> category = in_category,
>> - gifi_accno = in_gifi,
>> + gifi_accno = in_gifi_accno,
>> heading = t_heading_id,
>> contra = in_contra
>> WHERE id = in_id;
>>
>>
> Committed. Had to change insert line too.
>
> Best Wishes,
> Chris Travers
>