Fixes issue 0016049: Months appear in english
authorAdrián Romero <adrianromero@openbravo.com>
Mon, 07 Mar 2011 09:09:36 +0100
changeset 11043 6615a4b2a8aa
parent 11042 a6e2d070652e
child 11044 fc7ec1644bf0
Fixes issue 0016049: Months appear in english
Fixing database consistency in Oracle
src-db/database/model/functions/C_YEARPERIODS.xml
--- a/src-db/database/model/functions/C_YEARPERIODS.xml	Sun Mar 06 21:08:57 2011 +0100
+++ b/src-db/database/model/functions/C_YEARPERIODS.xml	Mon Mar 07 09:09:36 2011 +0100
@@ -70,7 +70,7 @@
     LOOP
       IF Cur_Parameter.ParameterName = 'AD_LANGUAGE_ID' THEN
         SELECT AD_LANGUAGE INTO v_language FROM AD_LANGUAGE WHERE AD_LANGUAGE_ID = Cur_Parameter.P_String;
-        v_language = COALESCE(v_language, 'en_US');
+        v_language := COALESCE(v_language, 'en_US');
       END IF;
       v_Year_ID:=Cur_Parameter.Record_ID;
     END LOOP; -- Get Parameter