Compare commits
2 Commits
d7e6434808
...
v9.26.5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
757d7ae01d | ||
|
|
4e78b21c67 |
@@ -1532,7 +1532,7 @@ class Login
|
|||||||
$this->acl['page'] = $_SESSION['LOGIN_PAGES_ACL_LEVEL'][$this->page_name];
|
$this->acl['page'] = $_SESSION['LOGIN_PAGES_ACL_LEVEL'][$this->page_name];
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->acl['unit_id'] = null;
|
$this->acl['unit_cuid'] = null;
|
||||||
$this->acl['unit_name'] = null;
|
$this->acl['unit_name'] = null;
|
||||||
$this->acl['unit_uid'] = null;
|
$this->acl['unit_uid'] = null;
|
||||||
$this->acl['unit'] = [];
|
$this->acl['unit'] = [];
|
||||||
@@ -3296,6 +3296,20 @@ HTML;
|
|||||||
return (string)$_SESSION['LOGIN_UNIT_ACL_LEVEL'][$id]['cuid'];
|
return (string)$_SESSION['LOGIN_UNIT_ACL_LEVEL'][$id]['cuid'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is a Legacy lookup from the edit access id to cuid for further lookups in the normal list
|
||||||
|
*
|
||||||
|
* @param string $cuid edit access cuid
|
||||||
|
* @return int|false false on not found or edit access id PK
|
||||||
|
*/
|
||||||
|
public function loginGetEditAccessIdFromCuid(string $cuid): int|false
|
||||||
|
{
|
||||||
|
if (!isset($_SESSION['LOGIN_UNIT_LEGACY'][$cuid])) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return $_SESSION['LOGIN_UNIT_LEGACY'][$cuid];
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if admin flag is set
|
* Check if admin flag is set
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ class Deprecated84
|
|||||||
* escape parameter deprecation and recommend to set to "" for compatible with PHP 9.0
|
* escape parameter deprecation and recommend to set to "" for compatible with PHP 9.0
|
||||||
*
|
*
|
||||||
* @param mixed $stream
|
* @param mixed $stream
|
||||||
* @param null|int $length
|
* @param null|int<0,max> $length
|
||||||
* @param string $separator
|
* @param string $separator
|
||||||
* @param string $enclosure
|
* @param string $enclosure
|
||||||
* @param string $escape
|
* @param string $escape
|
||||||
|
|||||||
Reference in New Issue
Block a user