X-Git-Url: https://jasonwoof.com/gitweb/?p=contractor-progress.git;a=blobdiff_plain;f=su.php;fp=su.php;h=d777117dd70c86a78fbdd0eda381a35545fdd036;hp=92b1b85e01d5849468cd381f0f904436a761d970;hb=f78460b6d888bb82adebd32931d707792bc77710;hpb=a7d43d9737bdcdf8c906469845742414a047f166 diff --git a/su.php b/su.php index 92b1b85..d777117 100644 --- a/su.php +++ b/su.php @@ -41,12 +41,13 @@ function _su_main() { return './'; } - $rows = db_get_rows('people', 'id,name', 'order by name'); + $rows = db_get_rows('people', 'id,name,username', 'order by name'); if($rows) foreach($rows as $row) { - list($id, $name) = $row; + list($id, $name, $username) = $row; tem_set('client_id', $id); tem_set('client_name', $name); + tem_set('client_username', $username); tem_show('su_row'); } }