From 1961ab720d8fcf7f13634b5beef88d5dd46bfb42 Mon Sep 17 00:00:00 2001 From: AndreaChirulescu Date: Wed, 7 Apr 2021 22:32:44 +0200 Subject: Forgot 2 returns in taken by for Reviewer 1 and 2 Improved the css for assigned/unassigned --- includes/admin/views/giglog_admin_page.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/admin') diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php index 4bf052f..cb8a4a5 100644 --- a/includes/admin/views/giglog_admin_page.php +++ b/includes/admin/views/giglog_admin_page.php @@ -329,7 +329,7 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { $vquery0 = "select wpgcl_rev1 from wpg_concertlogs where wpgcl_concertid=".$c ; $results = $wpdb->get_results($vquery0); foreach ( $results AS $row ) $x= $row -> wpgcl_rev1; - if ($x !='' and $x!=$hf_username) { ('Taken
Taken by '.$x.'
'); } + if ($x !='' and $x!=$hf_username) { return('Taken
Taken by '.$x.'
'); } else if ($x==$hf_username) //if current user return ('
@@ -345,7 +345,7 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { $vquery0 = "select wpgcl_rev2 from wpg_concertlogs where wpgcl_concertid=".$c ; $results = $wpdb->get_results($vquery0); foreach ( $results AS $row ) $x= $row -> wpgcl_rev2; - if ($x !='' and $x!=$hf_username) { ('Taken
Taken by '.$x.'
'); } + if ($x !='' and $x!=$hf_username) { return('Taken
Taken by '.$x.'
'); } else if ($x==$hf_username) //if current user return (' -- cgit v1.2.3