diff --git a/library/TorrentPier/TorrentPier/Legacy/Common/User.php b/library/TorrentPier/TorrentPier/Legacy/Common/User.php index 5b67a8d2e..2c6c54906 100644 --- a/library/TorrentPier/TorrentPier/Legacy/Common/User.php +++ b/library/TorrentPier/TorrentPier/Legacy/Common/User.php @@ -414,9 +414,9 @@ class User '); return $new_session_userdata; - } else { - trigger_error('Could not start session : login', E_USER_ERROR); } + + trigger_error('Could not start session : login', E_USER_ERROR); } }