Skip to content

Commit

Permalink
[IM|BF] Only show active customers in switch configuration - closes #498
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Jan 16, 2019
1 parent cdfadd6 commit aa0344d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/Repositories/Switcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public function getConfiguration( $switchid = null, $infra = null, $facility = n
LEFT JOIN s.Infrastructure inf
LEFT JOIN s.Cabinet cab
WHERE 1=1 ";
WHERE " . Customer::DQL_CUST_CURRENT . " ";

if( $switchid !== null ) {
$q .= 'AND s.id = ' . intval( $switchid ) . ' ';
Expand Down

0 comments on commit aa0344d

Please sign in to comment.