BUG 7955 this issue was fixed.

This commit is contained in:
Alvaro Campos
2011-11-17 09:40:01 -04:00
parent 9471a6cb60
commit 2b8f40f03f
11 changed files with 73 additions and 81 deletions

View File

@@ -81,10 +81,7 @@ class Process extends BaseProcess {
if ($this->pro_title !== $v || $v === '') {
$this->pro_title = $v;
$lang = defined ( 'SYS_LANG') ? SYS_LANG : 'en';
//verify the content for base language
Content::copyContentOnBaseLanguageIfNotExists('PRO_TITLE', $this->getProUid(), $this->pro_title);
$res = Content::addContent( 'PRO_TITLE', '', $this->getProUid(), $lang, $this->pro_title );
}
@@ -131,9 +128,6 @@ class Process extends BaseProcess {
$this->pro_description = $v;
$lang = defined ( 'SYS_LANG') ? SYS_LANG : 'en';
//verify the content for base language
Content::copyContentOnBaseLanguageIfNotExists('PRO_DESCRIPTION', $this->getProUid(), $this->pro_description);
$res = Content::addContent( 'PRO_DESCRIPTION', '', $this->getProUid(), $lang, $this->pro_description );
}