#45
IR_base::dbobj2ORM & array_shift variable reference issues
-
- Created on: Wed, 20 May 2009 (over 2 years ago)
- Reported by: Stan Angeloff
- Assigned to: -
- Milestone: 1.0
- Status: Fixed
- Priority: Normal (3)
- Component: -
-
-
Followers

Stan Angeloff
No file chosen
You have an empty file field. Please select or remove it.
Time Expenditure
Loading
does not work as expected in PHP 4.
array_shiftdoes not return values by reference, thus triggering a PHP warning. This code solves the issue:I haven't tested the above in PHP 5, but I don't see why it wouldn't work as expected.
Cheers,
Stan