Skip to content

Commit 50f93e0

Browse files
committed
update
1 parent e5e485d commit 50f93e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gourl.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,8 @@ private function save_settings()
889889
$boxkey = (strpos($key, "public_key") || strpos($key, "private_key")) ? true : false;
890890
if (!(file_exists($this->hash_url) && !is_writable($this->hash_url) && $boxkey))
891891
{
892-
if ($boxkey && get_option(GOURL.$key) != $value) $arr[$key] = array("old_key" => get_option(GOURL.$key), "new_key" => $value);
892+
$oldval = get_option(GOURL.$key);
893+
if ($boxkey && $oldval != $value) $arr[$key] = array("old_key" => ($oldval ? substr($oldval, 0, -20)."....." : "-empty-"), "new_key" => ($value ? substr($value, 0, -20)."....." : "-empty-"));
893894
update_option(GOURL.$key, $value);
894895
}
895896
}
@@ -7752,5 +7753,5 @@ function gourl_altcoin_btc_price ($altcoin, $interval = 1)
77527753
}
77537754

77547755

7755-
return 0;
7756+
return 0;
77567757
}

0 commit comments

Comments
 (0)