hotfix warring

PHP Notice:  Undefined index: port