Commit ad7f868b authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix up non-admin query! Never noticed this before, and no one has ever

complained. Sigh.
parent 4c0eb996
......@@ -179,7 +179,7 @@ function GENPLIST ($query_result)
if (! $isadmin) {
$query_result =
DBQueryFatal("SELECT,count(distinct r.node_id) as ncount, ".
DBQueryFatal("SELECT p.*,count(distinct r.node_id) as ncount, ".
"count(distinct e.eid) as ecount, ".
"IF(p.expt_last, ".
" TO_DAYS(CURDATE()) - TO_DAYS(p.expt_last), ".
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