We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a98ee commit dbfbd22Copy full SHA for dbfbd22
plugin/API/API.php
@@ -4226,8 +4226,7 @@ public function get_api_IP2Location($parameters)
4226
{
4227
global $global;
4228
$this->getToPost();
4229
- $obj = $this->getDataObject();
4230
- if ($obj->APISecret !== @$_GET['APISecret']) {
+ if (!self::isAPISecretValid()) {
4231
return new ApiObject("APISecret Not valid");
4232
}
4233
if (AVideoPlugin::isEnabledByName("User_Location")) {
0 commit comments