chamilo/chamilo-lms

View on GitHub
public/main/exercise/hotspot_save.inc.php

Summary

Maintainability
A
0 mins
Test Coverage

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

$sql = "UPDATE $TBL_ANSWER SET

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

    $hotspot_coordinates = api_substr($hotspot_coordinates, 0, -2);

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

$TBL_ANSWER = Database::get_course_table(TABLE_QUIZ_ANSWER);

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

    $hotspot_coordinates = '';

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

    $hotspot_type = $_GET['type'];

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

        $hotspot_coordinates .= $coord.$delimiter;

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

            c_id = $course_id AND

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

    $hotspot_coordinates = $_GET['x'].';'.$_GET['y'].'|'.$_GET['width'].'|'.$_GET['height'];

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

    $hotspot_coordinates = api_substr($hotspot_coordinates, 0, -2);

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

    foreach ($tmp_coord as $coord) {

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

            hotspot_coordinates = '".Database::escape_string($hotspot_coordinates)."',

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

    $hotspot_type = $_GET['type'];

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

    $tmp_coord = explode(',', $_GET['co']);

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

            hotspot_type = '".Database::escape_string($hotspot_type)."'

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

$course_id = api_get_course_int_id();

There are no issues that match your filters.

Category
Status