mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
concatenation
Former-commit-id: 1a025ccb247ada9f36f51309baee13f4a2c03a78
This commit is contained in:
parent
2ec72c4d78
commit
1e7fb2f375
@ -14712,7 +14712,7 @@ function api_get_info_user_name($user)
|
||||
return false;
|
||||
}
|
||||
|
||||
$sql = sprintf("select * from tperfil p,tusuario_perfil u where p.id_perfil in (select u.id_perfil from tusuario_perfil where u.id_usuario = '$user')");
|
||||
$sql = sprintf("select * from tperfil p,tusuario_perfil u where p.id_perfil in (select u.id_perfil from tusuario_perfil where u.id_usuario = '.$user.')");
|
||||
$user_profile = db_get_all_rows_sql($sql);
|
||||
if ($user_profile === false) {
|
||||
returnError('Error_user', ' User could not be found.');
|
||||
|
Loading…
x
Reference in New Issue
Block a user