Commit 765f4c22 authored by Romain Therville's avatar Romain Therville 🐭
Browse files

Update to class.tx_nG6_db.php

The get_all_names_starting_with() has been reworked not to return the
users password.

Issue#189
parent 66adb01c
...@@ -3042,7 +3042,7 @@ static function get_project_runs($project_id, $orderby='', $limit='') { ...@@ -3042,7 +3042,7 @@ static function get_project_runs($project_id, $orderby='', $limit='') {
* @param string $user_col the fe_users column to use * @param string $user_col the fe_users column to use
* @return array * @return array
*/ */
static function get_all_names_starting_with($name_start, $user_col) { static function get_all_names_starting_with ($name_start, $user_col) {
$queryParts = Array( $queryParts = Array(
// 'SELECT' => 'fe_users.uid, fe_users.username, fe_users.last_name, fe_users.first_name, fe_users.password, fe_users.email, fe_users.cruser_id, fe_groups.title, fe_groups.tx_nG6_organism, fe_groups.tx_nG6_location', // 'SELECT' => 'fe_users.uid, fe_users.username, fe_users.last_name, fe_users.first_name, fe_users.password, fe_users.email, fe_users.cruser_id, fe_groups.title, fe_groups.tx_nG6_organism, fe_groups.tx_nG6_location',
'SELECT' => 'fe_users.uid, fe_users.username, fe_users.last_name, fe_users.first_name, fe_users.email, fe_users.cruser_id, fe_groups.title, fe_groups.tx_nG6_organism, fe_groups.tx_nG6_location', 'SELECT' => 'fe_users.uid, fe_users.username, fe_users.last_name, fe_users.first_name, fe_users.email, fe_users.cruser_id, fe_groups.title, fe_groups.tx_nG6_organism, fe_groups.tx_nG6_location',
......
Supports Markdown
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