Skip to content

Commit

Permalink
fix for users sometimes not listed in dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsetsystems committed Jan 7, 2007
1 parent d8ce0a9 commit e96168f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interface/fax/fax_dispatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ function mergeTiffs() {

// Get the users list.
$ures = sqlStatement("SELECT username, fname, lname FROM users " .
"WHERE active = 1 AND info NOT LIKE '%Inactive%' " .
"WHERE active = 1 AND ( info IS NULL OR info NOT LIKE '%Inactive%' ) " .
"ORDER BY lname, fname");
?>
<html>
Expand Down
3 changes: 2 additions & 1 deletion interface/patient_file/summary/pnotes_full.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
// Get the users list. The "Inactive" test is a kludge, we should create
// a separate column for this.
$ures = sqlStatement("SELECT username, fname, lname FROM users " .
"WHERE username != '' AND active = 1 AND info NOT LIKE '%Inactive%' " .
"WHERE username != '' AND active = 1 AND " .
"( info IS NULL OR info NOT LIKE '%Inactive%' ) " .
"ORDER BY lname, fname");
?>
<html>
Expand Down

0 comments on commit e96168f

Please sign in to comment.