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

Minor sql change.

parent 89c96adb
<?php <?php
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2003, 2006 University of Utah and the Flux Group. # Copyright (c) 2000-2008 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
include("defs.php3"); include("defs.php3");
...@@ -68,7 +68,7 @@ echo " ...@@ -68,7 +68,7 @@ echo "
# #
$query_result = $query_result =
DBQueryFatal("select w.* from widearea_accounts as w ". DBQueryFatal("select w.* from widearea_accounts as w ".
"left join users as u on u.uid=w.uid ". "left join users as u on u.uid_idx=w.uid_idx ".
"WHERE u.status!='" . TBDB_USERSTATUS_UNVERIFIED . "' and ". "WHERE u.status!='" . TBDB_USERSTATUS_UNVERIFIED . "' and ".
"u.status!='" . TBDB_USERSTATUS_NEWUSER . "' and ". "u.status!='" . TBDB_USERSTATUS_NEWUSER . "' and ".
"w.trust='" . TBDB_TRUSTSTRING_NONE . "'"); "w.trust='" . TBDB_TRUSTSTRING_NONE . "'");
......
Supports Markdown
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