From 8665503be6c3d7314a980eb26369cf5845fa1e42 Mon Sep 17 00:00:00 2001 From: Paul Nicholls Date: Tue, 24 May 2016 16:51:43 +1200 Subject: [PATCH] Fix incorrect variable name ($showHeading vs $show_heading) Also fixes this line's indentation (was 1 tab instead of 8 spaces). --- library/ess-seamless-lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ess-seamless-lib.php b/library/ess-seamless-lib.php index e609063..5e35d59 100644 --- a/library/ess-seamless-lib.php +++ b/library/ess-seamless-lib.php @@ -188,7 +188,7 @@ public function get_headers($curl, $url, $redirects=1) { public function generate_sso_url($essURL, $userObject, $isInstructor, $showHeading) { // This is the Echo360 Link for seamless login access - $essURL = $essURL . '?showheading=' . ($show_heading?"true":"false"); + $essURL = $essURL . '?showheading=' . ($showHeading?"true":"false"); $essURL .= "&firstname=" . urlencode(trim($userObject->firstname)); $essURL .= "&lastname=" . urlencode(trim($userObject->lastname)); $essURL .= "&email=" . urlencode(trim($userObject->email));