Skip to content

Commit

Permalink
phone numbers will overflow intval() in 32 bit systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr. Evoltech committed Mar 1, 2012
1 parent fcd2dc8 commit be49973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/admin/messages.php
Expand Up @@ -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;
}


Expand Down

0 comments on commit be49973

Please sign in to comment.