[FIX] coin_address is string, not int

throws a mysql error when updating coin address in user settings
This commit is contained in:
iAmShorty 2014-03-06 15:01:27 +01:00
parent 1c41534b17
commit 59b7c364fd

View File

@ -347,7 +347,7 @@ class User extends Base {
**/
public function existsCoinAddress($address) {
$this->debug->append("STA " . __METHOD__, 4);
return $this->getSingle($address, 'coin_address', 'coin_address') === $address;
return $this->getSingle($address, 'coin_address', 'coin_address', 's') === $address;
}
/**