File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -206,8 +206,8 @@ public function create_box_content_risk_management()
206
206
<p style='margin:0px;font-size: small;font-weight: 600'><small>Geolocation</small></p>
207
207
<img src= \"" .$ Geolocation ['country_flag ' ]."\" width= \"30 \" style= \"width:40px !important; \">
208
208
<p style='margin:0px;font-size: x-small'>
209
- <small> " .$ Geolocation ['country_code2 ' ]. "
210
- <a target='_blank' href='https://www.ipaddress.com/ipv4/ " .$ Geolocation ['ip ' ]."'> " .$ Geolocation ['ip ' ]."</a>
209
+ <small> " .$ Geolocation ['country_code2 ' ];
210
+ print " <a target='_blank' href='https://www.ipaddress.com/ " .(( stripos ( $ Geolocation [ ' ip ' ], " : " ) > - 1 ) ? " ipv6 " : " ipv4 " ). " / " .$ Geolocation ['ip ' ]."'> " .$ Geolocation ['ip ' ]."</a>
211
211
</small>
212
212
</p>
213
213
</div> " ;
You can’t perform that action at this time.
0 commit comments