Skip to content

Commit 539b422

Browse files
committed
Fix duplicate lines, backpic global value
1 parent 0a3d42a commit 539b422

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

interface/globals.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ function GetCallingScriptName()
653653

654654
$srcdir = $globalsBag->getString('srcdir');
655655
$login_screen = $globalsBag->getString('login_screen');
656-
$globalsBag->getString('backpic', '');
656+
$globalsBag->set('backpic', $backpic ?? '');
657657

658658
// 1 = send email message to given id for Emergency Login user activation,
659659
// else 0.
@@ -743,8 +743,6 @@ function GetCallingScriptName()
743743
$globalsBag->set('groupname', $groupname);
744744
$globalsBag->set('attendant_type', $attendant_type);
745745
$globalsBag->set('groupname', $groupname);
746-
$globalsBag->set('attendant_type', $attendant_type);
747-
$globalsBag->set('therapy_group', $therapy_group);
748746

749747
// global interface function to format text length using ellipses
750748
function strterm($string, $length)

0 commit comments

Comments
 (0)