Hide localhost IP in activities
This commit is contained in:
parent
f1b883b54b
commit
7b299eeecc
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class ActivityDatatable extends EntityDatatable
|
|||
function ($model) {
|
||||
$str = Utils::timestampToDateTimeString(strtotime($model->created_at));
|
||||
|
||||
if ($model->contact_id) {
|
||||
if ($model->contact_id && $model->ip != '127.0.0.1') {
|
||||
$ipLookUpLink = IP_LOOKUP_URL . $model->ip;
|
||||
$str .= sprintf(' <i class="fa fa-globe" style="cursor:pointer" title="%s" onclick="openUrl(\'%s\', \'IP Lookup\')"></i>', $model->ip, $ipLookUpLink);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue