AntonLV 5 лет назад
Родитель
Сommit
664d5f9f4d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      modules/base/profile/classes/BxBaseModProfileFormEntry.php

+ 1 - 1
modules/base/profile/classes/BxBaseModProfileFormEntry.php

@@ -169,7 +169,7 @@ class BxBaseModProfileFormEntry extends BxBaseModGeneralFormEntry
             return '';
             return '';
 
 
         $sStatus = _t('_sys_profile_status_' . $aInput['value']);
         $sStatus = _t('_sys_profile_status_' . $aInput['value']);
-        if(empty($CNF['URL_MANAGE_ADMINISTRATION']) || empty($CNF['FIELD_TITLE']) && !empty($this->aInputs[$CNF['FIELD_TITLE']]['value']))
+        if(empty($CNF['URL_MANAGE_ADMINISTRATION']) || empty($CNF['FIELD_TITLE']) || empty($this->aInputs[$CNF['FIELD_TITLE']]['value']))
             return $sStatus;
             return $sStatus;
 
 
         return $this->_oModule->_oTemplate->parseHtmlByName('name_link.html', array(
         return $this->_oModule->_oTemplate->parseHtmlByName('name_link.html', array(