Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Update to Language code #2

Open
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

Shadow-Lord commented Oct 19, 2010

Allows language code to be up to 5 characters, e.g. zh-CN

Is this line missing "substr(" ?

Perhaps it should read:
$code = tep_db_prepare_input(substr($HTTP_POST_VARS['code'], 0, 5));

Either that or there are one to many closed brackets ))!

@gburton gburton added a commit that referenced this pull request Jul 24, 2014

@gburton gburton Merge pull request #2 from osCommerce/master
Merge
3be8b5f

@gburton gburton added a commit that referenced this pull request Mar 27, 2015

@gburton gburton Deprecate Database Names #2 6b99678
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment