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

Order project list in dropdown menu.

parent 03c29a60
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2005 University of Utah and the Flux Group.
# Copyright (c) 2000-2006 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
......@@ -60,7 +60,8 @@ function SPITFORM($node_id, $reserved_pid, $error)
# Get list of projects.
#
$query_result =
DBQueryFatal("select pid from projects where approved!=0");
DBQueryFatal("select pid from projects where approved!=0 ".
"order by pid");
if (mysql_num_rows($query_result) == 0) {
USERERROR("There are no projects!", 1);
......
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