File tree 1 file changed +14
-0
lines changed
1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 28
28
require_once ("rq_client.php " );
29
29
require_once ("settings.php " );
30
30
require_once ("user-preferences.php " );
31
+ require_once ("db_utils.php " );
31
32
32
33
?>
33
34
@@ -353,6 +354,19 @@ function deleteSshKey(dest){
353
354
}
354
355
355
356
// END outstanding requests tab
357
+
358
+ // Todo: the headings on that table above made it so this request really couldn't fit
359
+ // so I don't know how this should be displayed.
360
+
361
+ $ conn = portal_conn ();
362
+ $ sql = "SELECT * from lead_request where "
363
+ . "requester_urn = " . $ conn ->quote ($ user ->urn (), 'text ' ) . " and status ='open' " ;
364
+ $ rows = db_fetch_rows ($ sql , "check duplicate lead request " );
365
+ $ open_requests = $ rows [RESPONSE_ARGUMENT ::VALUE ];
366
+ if (count ($ open_requests ) > 0 ){
367
+ print "<p>You have an outstanding project lead request</p> " ;
368
+ }
369
+
356
370
echo "</div> " ;
357
371
358
372
// BEGIN account summary tab
You can’t perform that action at this time.
0 commit comments