Skip to content

Commit

Permalink
v1.5.11
Browse files Browse the repository at this point in the history
Co-authored-by: Wren Merrett <>
Co-authored-by: Sandra Kuipers <[email protected]>
  • Loading branch information
hmerrettICHK and SKuipers committed Oct 3, 2022
1 parent 31cd0e5 commit ce43550
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 16 deletions.
5 changes: 5 additions & 0 deletions ATL/CHANGEDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,8 @@
++$count;
$sql[$count][0] = '1.5.10';
$sql[$count][1] = '';

//v1.5.11
++$count;
$sql[$count][0] = '1.5.11';
$sql[$count][1] = '';
5 changes: 5 additions & 0 deletions ATL/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
CHANGELOG
=========
v1.5.11
-------
Refactoring null coalesce

=======
v1.5.10
-------
Fixed visualization showing data that has not gone live
Expand Down
10 changes: 5 additions & 5 deletions ATL/atl_manage_addProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

include '../../gibbon.php';

$gibbonCourseClassID = $_GET['gibbonCourseClassID'];
$gibbonCourseClassID = $_GET['gibbonCourseClassID'] ?? '';
$URL = $session->get('absoluteURL').'/index.php?q=/modules/'.getModuleName($_GET['address'])."/atl_manage_add.php&gibbonCourseClassID=$gibbonCourseClassID";

if (isActionAccessible($guid, $connection2, '/modules/ATL/atl_manage_add.php') == false) {
Expand All @@ -40,10 +40,10 @@
$gibbonCourseClassIDMulti = $_POST['gibbonCourseClassIDMulti'];
$gibbonCourseClassIDMulti = array_unique($gibbonCourseClassIDMulti);
}
$name = $_POST['name'];
$description = $_POST['description'];
$gibbonRubricID = $_POST['gibbonRubricID'];
$completeDate = $_POST['completeDate'];
$name = $_POST['name'] ?? '';
$description = $_POST['description'] ?? '';
$gibbonRubricID = $_POST['gibbonRubricID'] ?? '';
$completeDate = $_POST['completeDate'] ?? '';
if ($completeDate == '') {
$completeDate = null;
$complete = 'N';
Expand Down
4 changes: 2 additions & 2 deletions ATL/atl_manage_deleteProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
include '../../gibbon.php';


$gibbonCourseClassID = $_POST['gibbonCourseClassID'];
$atlColumnID = $_GET['atlColumnID'];
$gibbonCourseClassID = $_POST['gibbonCourseClassID'] ?? '';
$atlColumnID = $_GET['atlColumnID'] ?? '';
$URL = $session->get('absoluteURL').'/index.php?q=/modules/'.getModuleName($_POST['address'])."/atl_manage_delete.php&atlColumnID=$atlColumnID&gibbonCourseClassID=$gibbonCourseClassID";
$URLDelete = $session->get('absoluteURL').'/index.php?q=/modules/'.getModuleName($_POST['address'])."/atl_manage.php&gibbonCourseClassID=$gibbonCourseClassID";

Expand Down
10 changes: 5 additions & 5 deletions ATL/atl_manage_editProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

include '../../gibbon.php';

$gibbonCourseClassID = $_GET['gibbonCourseClassID'];
$atlColumnID = $_GET['atlColumnID'];
$gibbonCourseClassID = $_GET['gibbonCourseClassID'] ?? '';
$atlColumnID = $_GET['atlColumnID'] ?? '';
$URL = $session->get('absoluteURL').'/index.php?q=/modules/'.getModuleName($_GET['address'])."/atl_manage_edit.php&atlColumnID=$atlColumnID&gibbonCourseClassID=$gibbonCourseClassID";

if (isActionAccessible($guid, $connection2, '/modules/ATL/atl_manage_edit.php') == false) {
Expand Down Expand Up @@ -67,9 +67,9 @@
$row = $result->fetch();

//Validate Inputs
$name = $_POST['name'];
$description = $_POST['description'];
$gibbonRubricID = $_POST['gibbonRubricID'];
$name = $_POST['name'] ?? '';
$description = $_POST['description'] ?? '';
$gibbonRubricID = $_POST['gibbonRubricID'] ?? '';
$completeDate = $_POST['completeDate'];
if ($completeDate == '') {
$completeDate = null;
Expand Down
4 changes: 2 additions & 2 deletions ATL/atl_write_dataProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

include '../../gibbon.php';

$gibbonCourseClassID = $_GET['gibbonCourseClassID'];
$atlColumnID = $_GET['atlColumnID'];
$gibbonCourseClassID = $_GET['gibbonCourseClassID'] ?? '';
$atlColumnID = $_GET['atlColumnID'] ?? '';
$URL = $session->get('absoluteURL').'/index.php?q=/modules/'.getModuleName($_GET['address'])."/atl_write_data.php&atlColumnID=$atlColumnID&gibbonCourseClassID=$gibbonCourseClassID";

if (isActionAccessible($guid, $connection2, '/modules/ATL/atl_write_data.php') == false) {
Expand Down
2 changes: 1 addition & 1 deletion ATL/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$entryURL = 'atl_write.php';
$type = 'Additional';
$category = 'Assess';
$version = '1.5.10';
$version = '1.5.11';
$author = 'Ross Parker';
$url = 'http://rossparker.org';

Expand Down
2 changes: 1 addition & 1 deletion ATL/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
/**
* Sets version information.
*/
$moduleVersion = '1.5.10';
$moduleVersion = '1.5.11';
$coreVersion = '23.0.00';

0 comments on commit ce43550

Please sign in to comment.