Skip to content

Commit

Permalink
Fix the version
Browse files Browse the repository at this point in the history
Fix a attachment issue
  • Loading branch information
jdarwood007 committed Sep 23, 2023
1 parent dfca745 commit 61fa8f4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sd_source/Subs-SimpleDesk.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function shd_init()
$context['shd_home'] = 'action=helpdesk;sa=main';

// What SD version are we on? It's now here!
define('SHD_VERSION', 'SimpleDesk 2.1.1');
define('SHD_VERSION', 'SimpleDesk 2.1.2');

// This isn't the SMF way. But for something like this, it's way way more logical and readable.
define('TICKET_STATUS_NEW', 0);
Expand Down
3 changes: 3 additions & 0 deletions sd_source/Subs-SimpleDeskDisplay.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ function shd_pre_download_request()
{
global $smcFunc;

if (empty($_REQUEST['attach']))
return;

// If we don't have a ticket, lets verify this is ours.
if (empty($_REQUEST['ticket']))
{
Expand Down
2 changes: 1 addition & 1 deletion sd_source/Subs-SimpleDeskManageAttachments.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Any questions, please contact SimpleDesk.net *
* *
***************************************************************
* SimpleDesk Version: 2.1.0 *
* SimpleDesk Version: 2.1.2 *
* File Info: Subs-SimpleDeskManageAttachments.php *
**************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion sd_source/Subs-SimpleDeskPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Any questions, please contact SimpleDesk.net *
* *
***************************************************************
* SimpleDesk Version: 2.1.0 *
* SimpleDesk Version: 2.1.2 *
* File Info: Subs-SimpleDeskPost.php *
**************************************************************/

Expand Down

0 comments on commit 61fa8f4

Please sign in to comment.