diff --git a/core/components/babel/processors/mgr/translation/create.class.php b/core/components/babel/processors/mgr/translation/create.class.php index 3452587..6616ced 100755 --- a/core/components/babel/processors/mgr/translation/create.class.php +++ b/core/components/babel/processors/mgr/translation/create.class.php @@ -20,7 +20,7 @@ public function create() { /* error: translation should be created in the same context */ return $this->failure($this->modx->lexicon('error.translation_in_same_context')); } - if(isset($linkedResources[$this->contextKey])) { + if(isset($this->linkedResources[$this->contextKey])) { /* error: there does already exist a translation */ $errorParameter = array('context' => $this->contextKey); return $this->modx->error->failure($this->modx->lexicon('error.translation_already_exists', $errorParameter));