Skip to content

Commit

Permalink
Merge pull request #82 from GibbonEdu/v2.0.00
Browse files Browse the repository at this point in the history
v2.0.01 URL Hotfix
  • Loading branch information
raynichc authored Jun 15, 2021
2 parents 49929df + 535c4cd commit 83557cf
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
6 changes: 6 additions & 0 deletions Help Desk/CHANGEDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -381,4 +381,10 @@
$count++;
$sql[$count][0]="2.0.00";
$sql[$count][1]="
";

//v2.0.01
$count++;
$sql[$count][0]="2.0.01";
$sql[$count][1]="
";
3 changes: 3 additions & 0 deletions Help Desk/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
CHANGELOG
=========
v2.0.01
-------
Fixed notification URLs not being set in some cases.

v2.0.00
-------
Expand Down
4 changes: 3 additions & 1 deletion Help Desk/issues_assignProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@

require_once '../../gibbon.php';

$URL = $gibbon->session->get('absoluteURL') . '/index.php?q=/modules/' . $gibbon->session->get('module');
$absoluteURL = $gibbon->session->get('absoluteURL');

$URL = $absoluteURL . '/index.php?q=/modules/' . $gibbon->session->get('module');

if (!isActionAccessible($guid, $connection2, '/modules/Help Desk/issues_view.php')) {
//Fail 0
Expand Down
3 changes: 2 additions & 1 deletion Help Desk/issues_createProccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@

require_once './moduleFunctions.php';

$absoluteURL = $gibbon->session->get('absoluteURL');
$moduleName = $gibbon->session->get('module');

$URL = $gibbon->session->get('absoluteURL') . '/index.php?q=/modules/' . $moduleName;
$URL = $absoluteURL . '/index.php?q=/modules/' . $moduleName;

if (!isActionAccessible($guid, $connection2, '/modules/Help Desk/issues_create.php')) {
$URL .= '/issues_view.php&return=error0';
Expand Down
2 changes: 1 addition & 1 deletion Help Desk/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
$entryURL="issues_view.php";
$type="Additional";
$category="Other";
$version="2.0.00";
$version="2.0.01";
$author="Ray Clark, Ashton Power & Adrien Tremblay";
$url="https://github.com/GibbonEdu/module-helpDesk";

Expand Down
2 changes: 1 addition & 1 deletion Help Desk/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* Sets version information
*/
$moduleVersion='2.0.00';
$moduleVersion='2.0.01';
$coreVersion = '22.0.00';

?>

0 comments on commit 83557cf

Please sign in to comment.