Revision 6c9d417d
Added by Andreas Kohlbecker over 5 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
1963 | 1963 |
|
1964 | 1964 |
} else { |
1965 | 1965 |
$status_text = cdm_ws_get(CDM_WS_REGISTRATION_STATUS_BY_IDENTIFIER, array($registration_identifier)); |
1966 |
if($status_text) {
|
|
1966 |
if(isset($status_text->String)) {
|
|
1967 | 1967 |
$status_text = strtolower($status_text->String); |
1968 | 1968 |
if($status_text == 'preparation' || $status_text == 'curation'){ |
1969 | 1969 |
$status_text = 'in ' . $status_text; |
Also available in: Unified diff
ref #7927 fixing bug in registration status check