Merged in develop (pull request #6818)
Updating branch with last changes in develop
This commit is contained in:
@@ -98,13 +98,13 @@ class Groupwf extends BaseGroupwf
|
||||
$this->setGrpTitle('Default Group Title');
|
||||
}
|
||||
|
||||
if (!empty($aData['GRP_STATUS'])) {
|
||||
if (!empty($data['GRP_STATUS'])) {
|
||||
$this->setGrpStatus($data['GRP_STATUS']);
|
||||
} else {
|
||||
$this->setGrpStatus('ACTIVE');
|
||||
}
|
||||
|
||||
if (!empty($aData['GRP_LDAP_DN'])) {
|
||||
if (!empty($data['GRP_LDAP_DN'])) {
|
||||
$this->setGrpLdapDn($data['GRP_LDAP_DN']);
|
||||
} else {
|
||||
$this->setGrpLdapDn('');
|
||||
|
||||
@@ -1501,7 +1501,8 @@ class System
|
||||
*/
|
||||
public static function getServerProtocol()
|
||||
{
|
||||
return G::is_https() ? "https://" : "http://";
|
||||
$envProtocol = defined("REQUEST_SCHEME") && REQUEST_SCHEME === "https";
|
||||
return G::is_https() || $envProtocol ? "https://" : "http://";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user