@jonnyb Can you insert an "echo $k" above the if-statement (below the k-assignment) to see what the bad key is? I don't have a bad key for the files you showed in your post.
↧