From 4c6b074e85d7d8e97b9f125f5fbc2949bc8839dd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 18 Feb 2019 20:12:17 +0100 Subject: buildmaster/build-list-links.php,buildmaster/build-list.php,buildmaster/build-slaves.php,buildmaster/deletion-links.php,buildmaster/dependencies.php,buildmaster/log.php,buildmaster/mysql-issues.php,buildmaster/statistics.php,buildmaster/todos.php,lib/format.php,mirrors/index.php,packages/index.php: isset($_GET[$x]) -> array_key_exists($x, $_GET) --- buildmaster/build-slaves.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildmaster/build-slaves.php') diff --git a/buildmaster/build-slaves.php b/buildmaster/build-slaves.php index 36a1522..c0293df 100644 --- a/buildmaster/build-slaves.php +++ b/buildmaster/build-slaves.php @@ -68,7 +68,7 @@ $columns = array( ) ); -if (!isset($_GET["sort"])) +if (!array_key_exists("sort", $_GET)) $_GET["sort"]="-last_connection"; if (substr($_GET["sort"],0,1) == "-") { -- cgit v1.2.3-70-g09d2