From b2924836667ae1876f2adc595b6e7745394e2125 Mon Sep 17 00:00:00 2001 From: Vasily Komrakov Date: Sun, 12 Feb 2017 11:22:20 +0300 Subject: [PATCH] Fix path to viewtorrent.php #172. PHP Warning in GET /profile.php #173. PHP Compile Error in GET /profile.php --- library/includes/ucp/viewprofile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/includes/ucp/viewprofile.php b/library/includes/ucp/viewprofile.php index 0b1d9679d..fed176037 100644 --- a/library/includes/ucp/viewprofile.php +++ b/library/includes/ucp/viewprofile.php @@ -176,7 +176,7 @@ if (IS_ADMIN) { // Show users torrent-profile if (IS_AM || $profile_user_id || !bf($profiledata['user_opt'], 'user_opt', 'user_dls')) { - require(UCP_DIR . 'viewtorrent.php'); + require UCP_DIR . '/viewtorrent.php'; } // Ajax bt_userdata