jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 9
Total Residents: 490
Online Now: 0
Hypergriders online: 0
× Please dont hesitate to report bugs here as I am always happy to get hints, where I can improve jOpenSim.

bug in transaction list

11 years 6 months ago #1949 by foto50
Hi all

I just want to inform you about a known bug in jOpenSim 0.2.7 which will be fixed in the next version:

When selecting the "Money" tab in the inworld account page and show all transactions within 1 year, the list is empty.

For those who urgently need to fix this before my next version is released (that will take a few weeks still I think), there is following solution:

Open /administrator/components/com_opensim/models/opensim.php in a text editor and go to line 984 which should be
if($days == 365) $query->where('AND #__opensim_moneytransactions.`time` >= UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 1 YEAR');
To correct this bug, change it to
if($days == 365) $query->where('#__opensim_moneytransactions.`time` >= UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 1 YEAR))');

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

Time to create page: 0.069 seconds