Skip to content

Commit

Permalink
fix usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouzierinverse committed Feb 26, 2025
1 parent 2f7dca6 commit 3be0b6d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/pf/person.pm
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,12 @@ sub person_reg_nodes {
my ($status, $iter) = pf::dal::node->search(
-where => {
pid => $pid,
status => "reg",
},
-columns => [qw(mac pid notes regdate unregdate status user_agent computername device_class time_balance bandwidth_balance)],
#To avoid join
-from => pf::dal::node->table,
-with_class => undef,
-where => {
status => "reg",
},
);
if (is_error($status)) {
return;
Expand Down

0 comments on commit 3be0b6d

Please sign in to comment.