From 9ed53931caa84ae5b821a11324aeb8ce0936523b Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 26 Dec 2007 16:55:01 +0000 Subject: Applying David Mora's Patch to Location.sql git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2002 4979c152-3d1c-0410-bac9-87ea11338e46 --- sql/modules/Location.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql') diff --git a/sql/modules/Location.sql b/sql/modules/Location.sql index 67d197b3..c91a93a8 100644 --- a/sql/modules/Location.sql +++ b/sql/modules/Location.sql @@ -61,7 +61,7 @@ $$ LANGUAGE PLPGSQL; COMMENT ON function location_save (in_companyname text, in_address1 text, in_address2 text, - in_city text, in_state text, in_zipcode text, in_country text) IS + in_city text, in_state text, in_zipcode text, in_country int) IS $$ Note that this does NOT override the data in the database. Instead we search for locations matching the desired specifications and if none are found, we insert one. Either way, the return value of the location can be -- cgit v1.2.3