bug fixes
This commit is contained in:
@@ -780,7 +780,7 @@ function booking_schema() {
|
||||
'booking_eventid' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10'),
|
||||
'booking_node_id' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10'),
|
||||
'booking_studygroup_id' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10'),
|
||||
'booking_session_id' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10', default => 0),
|
||||
'booking_session_id' => array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'disp-width' => '10', 'default' => 0),
|
||||
//'booking_is_leader' => array('type' => 'varchar', 'length' => '1', 'not null' => FALSE),
|
||||
//'booking_is_helper' => array('type' => 'varchar', 'length' => '1', 'not null' => FALSE),
|
||||
'booking_studygroup_role' => array('type' => 'varchar', 'length' => '100', 'not null' => FALSE, 'default' => 0),
|
||||
|
@@ -366,7 +366,7 @@ function booking_menu() {
|
||||
'title' => 'Add Study Group',
|
||||
'description' => 'Add Study Group definition',
|
||||
'page callback' => 'drupal_get_form',
|
||||
'page arguments' => array('booking_studygroups_add_form', true),
|
||||
'page arguments' => array('booking_studygroups_define_form', true),
|
||||
'access arguments' => array("edit study groups"),
|
||||
'type' => MENU_LOCAL_ACTION,
|
||||
);
|
||||
|
@@ -1627,6 +1627,7 @@ function booking_studygroups_view_form($node, &$form_state, $group_id) {
|
||||
$is_reading_group = FALSE;
|
||||
$form = array();
|
||||
$options = array();
|
||||
$rows = array();
|
||||
$last_session = "";
|
||||
$class_array = array(
|
||||
0 => "normal-row",
|
||||
|
Reference in New Issue
Block a user