The $codes array in phone_country_code_convert() is declared static, it is then flipped depending on the flag $Input_type. This causes the flag to work completely opposite second time it's called.

Tiny patch to follow.

Files: 
CommentFileSizeAuthor
#1 phone-country-code-convert-1988762-2.patch823 bytessplatio

Comments

Status:Active» Needs review
StatusFileSize
new823 bytes