[FIX] coin_address is string, not int

This commit is contained in:
iAmShorty 2014-03-06 15:04:22 +01:00
parent f9835e671c
commit dcfa79c1c9
4 changed files with 5 additions and 2 deletions

2
public/include/classes/user.class.php Normal file → Executable file
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;
}
/**

0
public/include/config/security.inc.dist.php Normal file → Executable file
View File

0
public/templates/bootstrap/account/edit/detail.tpl Normal file → Executable file
View File

5
public/templates/bootstrap/global/footer.tpl Normal file → Executable file
View File

@ -3,7 +3,10 @@
<font size="1">
<center>
Powered by <a href="https://github.com/MPOS/php-mpos">MPOS</a> | Donate to Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8
<br>
<a href="http://www.beyondsecurity.com/vulnerability-scanner-verification/bootstrap.auxmining.de"><img src="https://secure.beyondsecurity.com/verification-images/bootstrap.auxmining.de/vulnerability-scanner-2.gif" alt="Website Security Test" border="0" /></a>
</center>
</font>
</table>
</div>
</div>