fix: undefined index

This commit is contained in:
Martin Ambrus
2017-11-24 15:59:22 +01:00
parent 0499d58862
commit 866b0886fe
+5
View File
@@ -6434,6 +6434,11 @@ References: User ID/Message ID, Mode
if (!isset($movingunits['u' . (($vtribe - 1) * 10 + $i)])) {
$movingunits['u' . (($vtribe - 1) * 10 + $i)] = 0;
}
if (!isset($out['t' . $i])) {
$out['t' . $i] = 0;
}
$movingunits['u' . (($vtribe - 1) * 10 + $i)] += $out['t' . $i];
}