From b72deb2ac22bf57257c8c2772bf807d06f825293 Mon Sep 17 00:00:00 2001
From: Ross Parker <>
Date: Tue, 26 Jul 2022 17:03:09 +0800
Subject: [PATCH] v1.5.09
---
ATL/CHANGEDB.php | 5 +++++
ATL/CHANGELOG.txt | 4 ++++
ATL/hook_parentalDashboard_atlView.php | 4 ++--
ATL/hook_studentDashboard_atlView.php | 4 ++--
ATL/manifest.php | 2 +-
ATL/version.php | 2 +-
6 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/ATL/CHANGEDB.php b/ATL/CHANGEDB.php
index 0b7c13d..ae21524 100644
--- a/ATL/CHANGEDB.php
+++ b/ATL/CHANGEDB.php
@@ -171,3 +171,8 @@
++$count;
$sql[$count][0] = '1.5.08';
$sql[$count][1] = '';
+
+//v1.5.09
+++$count;
+$sql[$count][0] = '1.5.09';
+$sql[$count][1] = '';
diff --git a/ATL/CHANGELOG.txt b/ATL/CHANGELOG.txt
index af793be..6b882e1 100644
--- a/ATL/CHANGELOG.txt
+++ b/ATL/CHANGELOG.txt
@@ -1,5 +1,9 @@
CHANGELOG
=========
+v1.5.09
+-------
+Fixed student and parent PHP dashboard warning and exception
+
v1.5.08
-------
Final refactoring of linkTop divs
diff --git a/ATL/hook_parentalDashboard_atlView.php b/ATL/hook_parentalDashboard_atlView.php
index d4633d7..b1d856f 100644
--- a/ATL/hook_parentalDashboard_atlView.php
+++ b/ATL/hook_parentalDashboard_atlView.php
@@ -17,7 +17,7 @@
along with this program. If not, see .
*/
-global $page;
+global $page, $container;
$returnInt = null;
@@ -33,7 +33,7 @@
$page->scripts->add('chart');
$returnInt .= visualiseATL($container, $gibbonPersonID);
-
+
$returnInt .= getATLRecord($guid, $connection2, $gibbonPersonID);
}
diff --git a/ATL/hook_studentDashboard_atlView.php b/ATL/hook_studentDashboard_atlView.php
index 8f6e6c5..432db01 100644
--- a/ATL/hook_studentDashboard_atlView.php
+++ b/ATL/hook_studentDashboard_atlView.php
@@ -17,7 +17,7 @@
along with this program. If not, see .
*/
-global $page;
+global $page, $container;
$returnInt = null;
@@ -33,7 +33,7 @@
$page->scripts->add('chart');
$returnInt .= visualiseATL($container, $session->get('gibbonPersonID'));
-
+
$returnInt .= getATLRecord($guid, $connection2, $session->get('gibbonPersonID'));
}
diff --git a/ATL/manifest.php b/ATL/manifest.php
index ccb4361..5262737 100644
--- a/ATL/manifest.php
+++ b/ATL/manifest.php
@@ -25,7 +25,7 @@
$entryURL = 'atl_write.php';
$type = 'Additional';
$category = 'Assess';
-$version = '1.5.08';
+$version = '1.5.09';
$author = 'Ross Parker';
$url = 'http://rossparker.org';
diff --git a/ATL/version.php b/ATL/version.php
index 2143126..1677936 100644
--- a/ATL/version.php
+++ b/ATL/version.php
@@ -20,5 +20,5 @@
/**
* Sets version information.
*/
-$moduleVersion = '1.5.08';
+$moduleVersion = '1.5.09';
$coreVersion = '23.0.00';