Skip to content

Commit a157e1e

Browse files
authored
Update Lookup3.cls
Changed the final If in Main()
1 parent d072834 commit a157e1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cls/Lookup3.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ClassMethod Main()
1010
elseif (type = "phone") {do ..Phone(search, .id)}
1111
elseif (type = "name") {do ..Name(search, .id)}
1212
elseif (type = "dob") {do ..DOB(search, .id)}
13-
if (id '= "") {do ..TakeAction(id)}
13+
if ((type '= "") && (id '= "")) {do ..TakeAction(id)}
1414
}
1515
}
1616

0 commit comments

Comments
 (0)