From 1187e6865f3ba02d67de380867a27bb2f5edfd2c Mon Sep 17 00:00:00 2001 From: anonfagola Date: Wed, 24 Sep 2014 17:10:04 -0700 Subject: [PATCH] Update random.php As we are only using URIs, made it listBoards(true) for performance reasons. --- random.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/random.php b/random.php index 050b6c82..b1a74e0d 100644 --- a/random.php +++ b/random.php @@ -2,7 +2,7 @@ include "inc/functions.php"; -$boards = listBoards(); +$boards = listBoards(true); $board = array_rand($boards); -header('Location: /'.$boards[$board]["uri"]); +header('Location: /'.$boards[$board]);