mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-09 23:11:57 +01:00
fix 2 PHP Fatal error:
- Class 'EGroupware\Api\etemplate' not found in api/src/Contacts.php on line 1527 - Undefined constant 'EGroupware\Api\SessionEGW_SESSION_VAR' in api/src/Storage/Tracking.php on line 409
This commit is contained in:
parent
5ce7394105
commit
fca25726c9
@ -18,6 +18,7 @@ namespace EGroupware\Api;
|
|||||||
|
|
||||||
// explicitly reference classes still in phpgwapi
|
// explicitly reference classes still in phpgwapi
|
||||||
use categories;
|
use categories;
|
||||||
|
use etemplate; // cats2color
|
||||||
|
|
||||||
use calendar_bo; // to_do: do NOT require it, just use if there
|
use calendar_bo; // to_do: do NOT require it, just use if there
|
||||||
|
|
||||||
|
@ -406,7 +406,7 @@ abstract class Tracking
|
|||||||
if ($GLOBALS['egw_info']['server']['log_user_agent_action'] && ($changed_fields || !$old))
|
if ($GLOBALS['egw_info']['server']['log_user_agent_action'] && ($changed_fields || !$old))
|
||||||
{
|
{
|
||||||
$this->historylog->add('user_agent_action', $data[$this->id_field],
|
$this->historylog->add('user_agent_action', $data[$this->id_field],
|
||||||
$_SERVER['HTTP_USER_AGENT'], $_SESSION[Api\SessionEGW_SESSION_VAR]['session_action']);
|
$_SERVER['HTTP_USER_AGENT'], $_SESSION[Api\Session::EGW_SESSION_VAR]['session_action']);
|
||||||
}
|
}
|
||||||
foreach($changed_fields as $name)
|
foreach($changed_fields as $name)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user