diff --git a/sections/register/index.php b/sections/register/index.php index f5008a50..a5474a91 100644 --- a/sections/register/index.php +++ b/sections/register/index.php @@ -1,6 +1,7 @@ "; -if(($Blocks = file("GeoLiteCity_".date('Ym')."04/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) { +if(($Blocks = file("GeoLiteCity_".date('Ym')."05/GeoLiteCity-Blocks.csv", FILE_IGNORE_NEW_LINES)) === false) { echo "Error"; } array_shift($Blocks); diff --git a/static/functions/upload.js b/static/functions/upload.js index 36e21917..065ad2bf 100644 --- a/static/functions/upload.js +++ b/static/functions/upload.js @@ -208,7 +208,7 @@ function AddArtistField() { function RemoveArtistField() { if(ArtistCount == 1) { return; } var x = $('#artistfields').raw(); - for (i=0; i<3; i++) { x.removeChild(x.lastChild); } + for (i=0; i<4; i++) { x.removeChild(x.lastChild); } ArtistCount--; }