diff --git a/html/inc/result.inc b/html/inc/result.inc
index 332b8353f2..7461f3deea 100644
--- a/html/inc/result.inc
+++ b/html/inc/result.inc
@@ -183,7 +183,7 @@ function state_string($result) {
case 3: return tra("Error while computing");
case 4: return tra("Error while uploading");
case 6: return tra("Aborted by user");
- case 6: return tra("Upload failed");
+ case 7: return tra("Upload failed");
}
return tra("Error");
case 4: return tra("Timed out - no response");