mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 05:41:52 +09:00
Also here
This commit is contained in:
1 parent
baf4f6b557
commit
2adcfc269b
1 file changed
+7
@@ -45,6 +45,13 @@ class Model_ActivityClientHistoryTable implements \Box\InjectionAwareInterface
|
||||
return ;
|
||||
}
|
||||
|
||||
$extensionService = $this->di['mod_service']('extension');
|
||||
if ($extensionService->isExtensionActive('mod', 'demo')) {
|
||||
$ip = null;
|
||||
} else {
|
||||
$ip = $data['ip'];
|
||||
}
|
||||
|
||||
$entry = $this->di['db']->dispense('ActivityClientHistory');
|
||||
$entry->client_id = $data['client_id'];
|
||||
$entry->ip = $data['ip'];
|
||||
|
||||
Reference in new issue
Block a user