Skip to content
Browse files

phone numbers will overflow intval() in 32 bit systems

  • Loading branch information...
1 parent fcd2dc8 commit be499732da5a72826473aaf3f83eb5f6dd49c3c9 Mr. Evoltech committed Mar 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 application/controllers/admin/messages.php
View
4 application/controllers/admin/messages.php
@@ -292,11 +292,11 @@ function send()
if(preg_match("/([a-zA-Z])(\D)/", $sms_to))
{
$this->decrypter = new Encrypt;
- $sms_to = intval($this->decrypter->decode($sms_to));
+ $sms_to = $this->decrypter->decode($sms_to);
}
else
{
- $sms_to = intval($sms_to);
+ $sms_to = $sms_to;
}

0 comments on commit be49973

Please sign in to comment.
Something went wrong with that request. Please try again.