Weird values when returning incremental
Is it just me? Am I being stupid?
1.8.2 Code:
Code:
Test 1: 0 |
Re: Weird values when returning incremental
I can confirm this, it seems broken.
PHP Code:
Code:
Test 1: 0 |
Re: Weird values when returning incremental
I can confirm this too(without any test code right now). Few months ago i had trouble with this in an Extra Items API for Biohazard, where a native that should register a new item returned an post-incremented value, which wasn't the right one. After i made it that it increments the value first, then returns it, it worked properly.
|
Re: Weird values when returning incremental
Yeah, that's actually how we got in contact with this weird issue.
|
| All times are GMT -4. The time now is 09:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.