jetscotland Posted September 7, 2008 Report Posted September 7, 2008 Hi,How do I remove the 0 so that JSL0001 Scott Diamond looks like JSL001 Scott Diamond? Thanks. Quote
Administrators Nabeel Posted September 7, 2008 Administrators Report Posted September 7, 2008 Hey,Well right now, that's hardcoded. I can have that as an option in the next update. But if you want to change it for now, open common/PilotData.class.php, scroll to line 73, you see this line: return $code . str_pad($pilotid, 4, '0', STR_PAD_LEFT); Just change the 4 to a 3. That's the minimum length. The next update will have an optio nfor this. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.