X-Git-Url: https://jasonwoof.com/gitweb/?p=contractor-progress.git;a=blobdiff_plain;f=index.php;h=311addfefa38c6fa46c3a83309450329dfa33ab0;hp=b156cb76164dc6bc27a277811c89930f200c2042;hb=535cdc5a3f32063d12d29b99cffeae9d39ae8ef5;hpb=ca9fd4b5358f875195fd81632589cf5305f2ac69 diff --git a/index.php b/index.php index b156cb7..311addf 100644 --- a/index.php +++ b/index.php @@ -29,7 +29,7 @@ function task_summary($tem_prefix, $where_clause/*, ... */) { tem_set('task_price', $price); tem_set('task_state', task_state_pretty($state)); if(logged_in_as_contractor()) { - tem_set('client', db_get_value('people', 'name', 'where id=%i', $client_id)); + tem_set('client', db_get_value('people', 'username', 'where id=%i', $client_id)); } tem_show($tem_prefix . '_row'); $total += $price;