Skip to content

Commit 61fa8f4

Browse files
committed
Fix the version
Fix a attachment issue
1 parent dfca745 commit 61fa8f4

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

sd_source/Subs-SimpleDesk.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function shd_init()
5050
$context['shd_home'] = 'action=helpdesk;sa=main';
5151

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

5555
// This isn't the SMF way. But for something like this, it's way way more logical and readable.
5656
define('TICKET_STATUS_NEW', 0);

sd_source/Subs-SimpleDeskDisplay.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ function shd_pre_download_request()
3636
{
3737
global $smcFunc;
3838

39+
if (empty($_REQUEST['attach']))
40+
return;
41+
3942
// If we don't have a ticket, lets verify this is ours.
4043
if (empty($_REQUEST['ticket']))
4144
{

sd_source/Subs-SimpleDeskManageAttachments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Any questions, please contact SimpleDesk.net *
1414
* *
1515
***************************************************************
16-
* SimpleDesk Version: 2.1.0 *
16+
* SimpleDesk Version: 2.1.2 *
1717
* File Info: Subs-SimpleDeskManageAttachments.php *
1818
**************************************************************/
1919

sd_source/Subs-SimpleDeskPost.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Any questions, please contact SimpleDesk.net *
1414
* *
1515
***************************************************************
16-
* SimpleDesk Version: 2.1.0 *
16+
* SimpleDesk Version: 2.1.2 *
1717
* File Info: Subs-SimpleDeskPost.php *
1818
**************************************************************/
1919

0 commit comments

Comments
 (0)