chamilo/chamilo-lms

View on GitHub
public/main/social/group_edit.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "group_id" is not in valid camel caps format
Open

    $group['id'] = $group_id;

Variable "group_id" is not in valid camel caps format
Open

$interbreadcrumb[] = ['url' => 'group_view.php?id='.$group_id, 'name' => $group_data['name']];

Variable "this_section" is not in valid camel caps format
Open

$this_section = SECTION_SOCIAL;

Variable "group_id" is not in valid camel caps format
Open

    header('Location: group_view.php?id='.$group_id);

Variable "group_id" is not in valid camel caps format
Open

$form->addElement('hidden', 'id', $group_id);

Variable "social_right_content" is not in valid camel caps format
Open

$social_right_content = $form->returnForm();

Variable "group_data" is not in valid camel caps format
Open

$form->setDefaults($group_data);

Variable "group_id" is not in valid camel caps format
Open

SocialManager::setSocialUserBlock($tpl, api_get_user_id(), 'groups', $group_id);

Variable "social_layout" is not in valid camel caps format
Open

$social_layout = $tpl->get_template('social/add_groups.tpl');

Variable "group_id" is not in valid camel caps format
Open

$usergroup->setForm($form, 'edit', $repo->find($group_id));

Variable "social_layout" is not in valid camel caps format
Open

$tpl->display($social_layout);

Variable "group_id" is not in valid camel caps format
Open

    header('Location: group_view.php?id='.$group_id);

Variable "group_data" is not in valid camel caps format
Open

if (empty($group_data)) {

Variable "group_id" is not in valid camel caps format
Open

if (!$usergroup->is_group_admin($group_id)) {

Variable "group_id" is not in valid camel caps format
Open

$group_id = isset($_GET['id']) ? (int) $_GET['id'] : (int) $_POST['id'];

Variable "group_data" is not in valid camel caps format
Open

$interbreadcrumb[] = ['url' => 'group_view.php?id='.$group_id, 'name' => $group_data['name']];

Variable "social_right_content" is not in valid camel caps format
Open

$tpl->assign('social_right_content', $social_right_content);

Variable "group_id" is not in valid camel caps format
Open

$group_data = $usergroup->get($group_id);

Variable "group_data" is not in valid camel caps format
Open

$group_data = $usergroup->get($group_id);

Variable "tool_name" is not in valid camel caps format
Open

$tool_name = get_lang('Edit group');

There are no issues that match your filters.

Category
Status