From dcfa79c1c9a2abdceb94223f69ff5c714da4d69e Mon Sep 17 00:00:00 2001 From: iAmShorty Date: Thu, 6 Mar 2014 15:04:22 +0100 Subject: [PATCH] [FIX] coin_address is string, not int --- public/include/classes/user.class.php | 2 +- public/include/config/security.inc.dist.php | 0 public/templates/bootstrap/account/edit/detail.tpl | 0 public/templates/bootstrap/global/footer.tpl | 5 ++++- 4 files changed, 5 insertions(+), 2 deletions(-) mode change 100644 => 100755 public/include/classes/user.class.php mode change 100644 => 100755 public/include/config/security.inc.dist.php mode change 100644 => 100755 public/templates/bootstrap/account/edit/detail.tpl mode change 100644 => 100755 public/templates/bootstrap/global/footer.tpl diff --git a/public/include/classes/user.class.php b/public/include/classes/user.class.php old mode 100644 new mode 100755 index 978d530d..96c15cb8 --- a/public/include/classes/user.class.php +++ b/public/include/classes/user.class.php @@ -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; } /** diff --git a/public/include/config/security.inc.dist.php b/public/include/config/security.inc.dist.php old mode 100644 new mode 100755 diff --git a/public/templates/bootstrap/account/edit/detail.tpl b/public/templates/bootstrap/account/edit/detail.tpl old mode 100644 new mode 100755 diff --git a/public/templates/bootstrap/global/footer.tpl b/public/templates/bootstrap/global/footer.tpl old mode 100644 new mode 100755 index bf225f72..bc38bdee --- a/public/templates/bootstrap/global/footer.tpl +++ b/public/templates/bootstrap/global/footer.tpl @@ -3,7 +3,10 @@
Powered by MPOS | Donate to Lge95QR2frp9y1wJufjUPCycVsg5gLJPW8 +
+ Website Security Test
- \ No newline at end of file + +