PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Authentication » LiveUser » Bug #1425

getGroups does not return define_name

Details

Submitted2004-05-17 15:14 UTC
Fromlistworks at gmx dot ch
Assignedarnaud
StatusClosed
PackageLiveUser
PHP VersionIrrelevant
OSAny
Roadmaps(Not assigned)

Comments

[2004-05-17 15:14 UTC] listworks at gmx dot ch

Description:
------------
As define_name for groups is introduced again, getGroups should return the define_name

[2004-05-17 15:17 UTC] listworks at gmx dot ch

As define_name for groups is reintroduced, getGroups should return the define_name as well.

[2004-05-17 15:19 UTC] listworks at gmx dot ch

As define_name for groups is reintroduced again, getGroups should return the define_name as well.

[2004-05-19 09:37 UTC] listworks at gmx dot ch

Changing the $query definition in getGroups to:

$query = 'SELECT
groups.group_id AS group_id,
groups.group_define_name AS define_name,
groups.group_type AS group_type,
groups.owner_user_id AS owner_user_id,
groups.owner_group_id AS owner_group_id,
translations.name AS name,
translations.description AS description,
groups.is_active AS is_active
' . $fields .'
FROM ';

(added "groups.group_define_name AS define_name,") will
solve this bug.
Works for DB_Medium, should work for MDB_Medium as well.