Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fucking barracks bug in actions/overview.php
#1
The query for $timer_data['barracks'] is "SELECT time_finished FROM recruit WHERE building='barracks' ORDER BY id DESC".
This should be:
Code:
"SELECT time_finished FROM recruit WHERE building='barracks' && villageid={$village[id]} ORDER BY id DESC"
Took me half an hour to figure out when I was creating graphic overview for v5.
Found my post helpful? Rate me Big Grin
Project: creating a compact and easy to setup DSLan (Linux) (Windoze is in development)


Messages In This Thread
Fucking barracks bug in actions/overview.php - by Lekensteyn - 09.10.2010, 16:39



Users browsing this thread: 2 Guest(s)