Minor - format code

pull/2729/head
Julio Montoya 8 years ago
parent ac7c97f283
commit 8a922f2260
  1. 6
      main/lp/lp_ajax_save_item.php
  2. 1
      main/lp/readout_text.php

@ -85,7 +85,7 @@ function save_item(
if (!is_a($myLP, 'learnpath')) {
if ($debug) {
error_log("mylp variable is not an learnpath object");
error_log('mylp variable is not an learnpath object');
}
return null;
@ -146,7 +146,7 @@ function save_item(
}
} else {
if ($debug > 1) {
error_log("Score not updated");
error_log('Score not updated');
}
}
@ -164,7 +164,7 @@ function save_item(
}
} else {
if ($debug > 1) {
error_log("Status not updated");
error_log('Status not updated');
}
}

@ -8,7 +8,6 @@ use Chamilo\CourseBundle\Entity\CDocument;
*
* @package chamilo.learnpath
*/
$_in_course = true;
require_once __DIR__.'/../inc/global.inc.php';

Loading…
Cancel
Save