|
|
@ -59,7 +59,7 @@ function User_unconfirmed_AngelTypes($user) {
|
|
|
|
AND `UserAngelTypes`.`supporter`=TRUE
|
|
|
|
AND `UserAngelTypes`.`supporter`=TRUE
|
|
|
|
AND `AngelTypes`.`restricted`=TRUE
|
|
|
|
AND `AngelTypes`.`restricted`=TRUE
|
|
|
|
AND `UnconfirmedMembers`.`confirm_user_id` IS NULL
|
|
|
|
AND `UnconfirmedMembers`.`confirm_user_id` IS NULL
|
|
|
|
GROUP BY `UserAngelTypes`.`angeltype_id`
|
|
|
|
GROUP BY `UserAngelTypes`.`angeltype_id`, `UserAngelTypes`.`id`
|
|
|
|
ORDER BY `AngelTypes`.`name`");
|
|
|
|
ORDER BY `AngelTypes`.`name`");
|
|
|
|
if ($result === false) {
|
|
|
|
if ($result === false) {
|
|
|
|
engelsystem_error("Unable to load user angeltypes.");
|
|
|
|
engelsystem_error("Unable to load user angeltypes.");
|
|
|
|