Commit 22ed26a4 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fix to PCArchitectures().

parent df7149d1
......@@ -370,7 +370,9 @@ sub PCArchitectures()
my $query_result =
DBQueryWarn("select distinct architecture from node_types as nt ".
"left join nodes as n on n.type=nt.type ".
"where architecture is not null and class='pc' and ".
"where architecture is not null and ".
" architecture!='' and ".
" class='pc' and ".
" n.node_id is not null and n.role='testnode'");
while (my ($architecture) = $query_result->fetchrow_array()) {
push(@results, $architecture);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment