Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoapi committed Oct 12, 2017
1 parent e5e485d commit 50f93e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gourl.php
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,8 @@ private function save_settings()
$boxkey = (strpos($key, "public_key") || strpos($key, "private_key")) ? true : false;
if (!(file_exists($this->hash_url) && !is_writable($this->hash_url) && $boxkey))
{
if ($boxkey && get_option(GOURL.$key) != $value) $arr[$key] = array("old_key" => get_option(GOURL.$key), "new_key" => $value);
$oldval = get_option(GOURL.$key);
if ($boxkey && $oldval != $value) $arr[$key] = array("old_key" => ($oldval ? substr($oldval, 0, -20)."....." : "-empty-"), "new_key" => ($value ? substr($value, 0, -20)."....." : "-empty-"));
update_option(GOURL.$key, $value);
}
}
Expand Down Expand Up @@ -7752,5 +7753,5 @@ function gourl_altcoin_btc_price ($altcoin, $interval = 1)
}


return 0;
return 0;
}

0 comments on commit 50f93e0

Please sign in to comment.