Commit aeb74078 authored by Leigh Stoller's avatar Leigh Stoller

Change order in approveproject list (most recent at the top).

parent 70d88fbd
......@@ -32,7 +32,9 @@ if (! $isadmin) {
# implies denying the project leader account, when there is just a single
# project pending for that project leader.
#
$query_result = DBQueryFatal("SELECT * from projects where approved='0'");
$query_result = DBQueryFatal("SELECT * from projects ".
"where approved='0' order by created desc");
if (mysql_num_rows($query_result) == 0) {
USERERROR("There are no projects to approve!", 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