Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Farm List error #564

Open
heloirf opened this issue Sep 24, 2018 · 1 comment
Open

Farm List error #564

heloirf opened this issue Sep 24, 2018 · 1 comment
Labels

Comments

@heloirf
Copy link

heloirf commented Sep 24, 2018

Adding villas to a farm list is not added.

*** in farmlist_addraid.tpl
REMOVE LINE 46, 47, 48
$Wref = $database->getVilWref($_POST['x'], $_POST['y']);
$WrefX = $_POST['x'];
$WrefY = $_POST['y'];
ADD LINE 45
$Wref = $database->getVilWref($WrefX, $WrefY);

*** in trooplist.tpl
REMOVE LINE 21
if(in_array($i, [4, 14, 23])) continue;

ADD LINES 21...26

if(in_array($i, [4, 14, 23])) {
?>
<input type="hidden" name ="t" value="0"

@iopietro
Copy link
Owner

It should be fixed in 3b167c6.
Remove your additions, try it and tell me if it's resolved (because I'm unable to test it right now).

@iopietro iopietro added the bug label Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants