From b597db719c147d0f06006170cecd4aa8bcde3ae2 Mon Sep 17 00:00:00 2001 From: Arantor Date: Tue, 3 May 2022 18:13:33 +0100 Subject: [PATCH] Typo correction. Signed-off-by: Arantor --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 4a3c3332d0..e3fcc8e263 100644 --- a/index.php +++ b/index.php @@ -51,7 +51,7 @@ error_reporting(!empty($db_show_debug) ? E_ALL : E_ALL & ~E_DEPRECATED); // Ensure there are no trailing slashes in these variables. -foreach (array('boardurl', 'boarddir', 'sourcedir', 'packagesdir', 'taskddir', 'cachedir') as $variable) +foreach (array('boardurl', 'boarddir', 'sourcedir', 'packagesdir', 'tasksdir', 'cachedir') as $variable) if (!empty($GLOBALS[$variable])) $GLOBALS[$variable] = rtrim($GLOBALS[$variable], "\\/");