diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html index f8eece7a5a..7c447afba5 100644 --- a/phpBB/styles/prosilver/template/overall_header.html +++ b/phpBB/styles/prosilver/template/overall_header.html @@ -57,7 +57,7 @@ */ window.onload = function() { - for (i = 0; i <= onload_functions.length; i++) + for (i = 0; i < onload_functions.length; i++) { eval(onload_functions[i]); } @@ -65,7 +65,7 @@ window.onunload = function() { - for (i = 0; i <= onunload_functions.length; i++) + for (i = 0; i < onunload_functions.length; i++) { eval(onunload_functions[i]); }