mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-11 07:56:39 +02:00
corrected points which were found during review of @stefan123t
This commit is contained in:
parent
f651811359
commit
b1fa6e0702
3 changed files with 29 additions and 11 deletions
|
@ -10,7 +10,7 @@
|
|||
<h1>Update</h1>
|
||||
<div id="content" class="content">
|
||||
<div>
|
||||
Make sure that you have noted all or settings before starting an update. New versions maybe changed their memory layout which remains in default settings.
|
||||
Make sure that you have noted all your settings before starting an update. New versions may have changed their memory layout which can break your existing settings.
|
||||
</div>
|
||||
<br/><br/>
|
||||
<form method="POST" action="/update" enctype="multipart/form-data" accept-charset="utf-8">
|
||||
|
|
|
@ -48,11 +48,11 @@
|
|||
ch0.appendChild(sub);
|
||||
|
||||
switch(j) {
|
||||
case 2: total[j] += val; break;
|
||||
case 6: total[j] += val; break;
|
||||
case 7: total[j] += val; break;
|
||||
case 8: total[j] += val; break;
|
||||
case 10: total[j] += val; break;
|
||||
case 2: total[j] += val; break; // P_AC
|
||||
case 6: total[j] += val; break; // YieldTotal
|
||||
case 7: total[j] += val; break; // YieldDay
|
||||
case 8: total[j] += val; break; // P_DC
|
||||
case 10: total[j] += val; break; // P_ACr
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue