Fix notice about undefined index 'visitorid' in client.php
Fix notice about undefined index 'visitorid' in libs/chat.php