I didn't debug the code to find where.
Here's a print of the contents of map
Type: Posts; User: Norm
I didn't debug the code to find where.
Here's a print of the contents of map
The formulas need work. They keep generating -1 values in the map array.