diff --git a/workflow/engine/classes/class.configuration.php b/workflow/engine/classes/class.configuration.php index ea8a8a8bb..9045f07d0 100755 --- a/workflow/engine/classes/class.configuration.php +++ b/workflow/engine/classes/class.configuration.php @@ -567,7 +567,7 @@ class Configurations // extends Configuration require_once 'model/Language.php'; $language = new language(); $lanLocation = $language->findLocationByLanId(SYS_LANG); - $location = isset($location['LAN_LOCATION']) ? $location['LAN_LOCATION'] : ''; + $location = isset($lanLocation['LAN_LOCATION']) ? $lanLocation['LAN_LOCATION'] : ''; if (G::toLower(PHP_OS) == 'linux' || G::toLower(PHP_OS) == 'darwin') { if (SYS_LANG == 'es') { diff --git a/workflow/engine/classes/model/om/BaseLanguage.php b/workflow/engine/classes/model/om/BaseLanguage.php index ba797734c..1adf216c9 100755 --- a/workflow/engine/classes/model/om/BaseLanguage.php +++ b/workflow/engine/classes/model/om/BaseLanguage.php @@ -896,6 +896,7 @@ abstract class BaseLanguage extends BaseObject implements Persistent * same instance for all member of this class. The method could therefore * be static, but this would prevent one from overriding the behavior. * + * * @return LanguagePeer */ public function getPeer()