Skip to content

Commit 59b7c36

Browse files
committed
[FIX] coin_address is string, not int
throws a mysql error when updating coin address in user settings
1 parent 1c41534 commit 59b7c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/include/classes/user.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ public function getCoinAddress($userID) {
347347
**/
348348
public function existsCoinAddress($address) {
349349
$this->debug->append("STA " . __METHOD__, 4);
350-
return $this->getSingle($address, 'coin_address', 'coin_address') === $address;
350+
return $this->getSingle($address, 'coin_address', 'coin_address', 's') === $address;
351351
}
352352

353353
/**

0 commit comments

Comments
 (0)