Skip to content

Commit

Permalink
v3.0.02
Browse files Browse the repository at this point in the history
  • Loading branch information
SKuipers committed Jan 25, 2021
1 parent 20501be commit 737f252
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
5 changes: 5 additions & 0 deletions Credentials/CHANGEDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,8 @@
++$count;
$sql[$count][0] = '3.0.01';
$sql[$count][1] = "";

//3.0.02
++$count;
$sql[$count][0] = '3.0.02';
$sql[$count][1] = "";
4 changes: 4 additions & 0 deletions Credentials/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
CHANGELOG
=========
v3.0.02
-------
Fix file includes on Parent Dashboard for families with more than one student

v3.0.01
-------
Fix PHP warnings for systems without Mcrypt installed
Expand Down
11 changes: 1 addition & 10 deletions Credentials/hook_parentDashboard_credentials.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,7 @@
$returnInt = null;

//Module includes
$included = false;
$includes = get_included_files();
foreach ($includes as $include) {
if (strpos(str_replace('\\', '/', $include), '/modules/Credentials/moduleFunctions.php') !== false) {
$included = true;
}
}
if ($included == false) {
require $_SESSION[$guid]['absolutePath'].'/modules/Credentials/moduleFunctions.php';
}
require_once $_SESSION[$guid]['absolutePath'].'/modules/Credentials/moduleFunctions.php';

if (isActionAccessible($guid, $connection2, '/modules/Credentials/hook_parentDashboard_credentials.php') == false) {
//Acess denied
Expand Down
2 changes: 1 addition & 1 deletion Credentials/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$entryURL = 'credentials.php';
$type = 'Additional';
$category = 'Admin';
$version = '3.0.01';
$version = '3.0.02';
$author = 'Ross Parker';
$url = 'http://rossparker.org';

Expand Down
2 changes: 1 addition & 1 deletion Credentials/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
/**
* Sets version information.
*/
$moduleVersion = '3.0.01';
$moduleVersion = '3.0.02';

0 comments on commit 737f252

Please sign in to comment.