Fix display of queueditems.php by not including filter.php twice
This commit is contained in:
committed by
WineHQ
parent
917851fceb
commit
6c19c890da
@@ -4,20 +4,16 @@
|
|||||||
* A list of the user's queued items
|
* A list of the user's queued items
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require("path.php");
|
require_once("path.php");
|
||||||
require(BASE."include/incl.php");
|
require_once(BASE."include/incl.php");
|
||||||
require(BASE."include/filter.php");
|
require_once(BASE."include/appData.php");
|
||||||
require(BASE."include/appData.php");
|
|
||||||
|
|
||||||
apidb_header("View Your Queued Items");
|
|
||||||
|
|
||||||
$oUser = new User($_SESSION['current']->iUserId);
|
$oUser = new User($_SESSION['current']->iUserId);
|
||||||
|
|
||||||
if(!$oUser->isLoggedIn())
|
if(!$oUser->isLoggedIn())
|
||||||
{
|
util_show_error_page_and_exit("You need to log in to view your queued items.");
|
||||||
echo "You need to log in to display your queued items.";
|
|
||||||
apidb_footer();
|
apidb_header("View Your Queued Items");
|
||||||
}
|
|
||||||
|
|
||||||
/* Test data */
|
/* Test data */
|
||||||
if($sResult = testData::listSubmittedBy($oUser->iUserId))
|
if($sResult = testData::listSubmittedBy($oUser->iUserId))
|
||||||
|
|||||||
Reference in New Issue
Block a user