Project

General

Profile

Bug #5537

Error al acceder a los grupos de un curso

Added by Yoselyn Castillo about 7 years ago. Updated about 7 years ago.

Status:
Bug resolved
Priority:
Urgent
Category:
Users/Groups
Target version:
Start date:
26/09/2012
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Cuando accedo a los grupos de un curso me sale el siguiente error
Fatal error: Undefined class constant 'DEFAULT_GROUP_CATEGORY' in /var/www/stable.chamilo.org/www/main/group/group.php on line 43 Call Stack: 0.0034 532464 1. {main}() /var/www/stable.chamilo.org/www/main/group/group.php:0

Defini las variables dentro de la clase pues estaban fuera. Ese era el error. Sube el arreglo, please para poder trabajar en la #5333
class GroupManager {
//CLASS CONSTANTS
const DEFAULT_GROUP_CATEGORY = 2;
const MEMBER_PER_GROUP_NO_LIMIT = 0;


Files

groupmanager.lib.php (65.5 KB) groupmanager.lib.php Yoselyn Castillo, 26/09/2012 21:36

Associated revisions

Revision f2679f40 (diff)
Added by Yoselyn Castillo about 7 years ago

Added missing constants in groupmanager class - refs #5537

History

#1

Updated by Yoselyn Castillo about 7 years ago

Tambien hay que agregar esta
const MEMBER_PER_GROUP_NO_LIMIT = 0;

#2

Updated by Yannick Warnier about 7 years ago

  • Category set to Users/Groups
  • Status changed from Assigned to Bug resolved
  • Assignee changed from Julio Montoya to Yoselyn Castillo
  • % Done changed from 0 to 100

Sent to 1.9.2.

Also available in: Atom PDF