Fix problems with the app_uuid and domain_uuid
app_uuid was null, and domain_uuid getting the wrong uuid.
This commit is contained in:
parent
c9fe34f271
commit
f714ef6798
|
|
@ -211,17 +211,17 @@
|
|||
* Stores the application name making the request.
|
||||
* @var string App name making database request.
|
||||
* @see $app_uuid
|
||||
* @access private
|
||||
* @access public
|
||||
*/
|
||||
private $app_name;
|
||||
public $app_name;
|
||||
|
||||
/**
|
||||
* Stores the application UUID making the request.
|
||||
* @var string
|
||||
* @see $app_name
|
||||
* @access private
|
||||
* @access public
|
||||
*/
|
||||
private $app_uuid;
|
||||
public $app_uuid;
|
||||
|
||||
/**
|
||||
* <p>Stores the domain UUID making the request.</p>
|
||||
|
|
@ -243,9 +243,7 @@
|
|||
* Called when the object is created
|
||||
*/
|
||||
public function __construct() {
|
||||
// $this->domain_uuid is still null
|
||||
// if (!isset($this->domain_uuid) && isset($_SESSION['domain_uuid'])) {
|
||||
if (isset($_SESSION['domain_uuid'])) {
|
||||
if (!isset($this->domain_uuid) && isset($_SESSION['domain_uuid'])) {
|
||||
$this->domain_uuid = $_SESSION['domain_uuid'];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue