An insecure fence is "in effect" inviting them in. So the owner would be libal. This is established in case law.