Skip to content

Commit 30e6f56

Browse files
authored
Update support.tpl.php
1 parent 6a8198b commit 30e6f56

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

myaccount/tpl/support.tpl.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ function groupticketchange(){
632632
';
633633
}
634634

635-
if (isModEnabled("ticket") && getDolGlobalInt("TICKET_ENABLE_PUBLIC_INTERFACE") && empty($sellyoursaassupporturl) && ($action != 'presend' || !GETPOST('supportchannel', 'alpha'))) {
635+
if (isModEnabled("ticket") && getDolGlobalInt("SELLYOURSAAS_SUPPORT_TICKET_CREATE") && empty($sellyoursaassupporturl) && ($action != 'presend' || !GETPOST('supportchannel', 'alpha'))) {
636636
print '
637637
<!-- BEGIN PAGE HEADER-->
638638
<!-- BEGIN PAGE HEAD -->
@@ -642,8 +642,6 @@ function groupticketchange(){
642642
<h1>'.$langs->trans("OldTickets").' <small>'.$langs->trans("OldTicketsDesc").'</small></h1>
643643
</div>
644644
<!-- END PAGE TITLE -->
645-
646-
647645
</div>
648646
<!-- END PAGE HEAD -->
649647
<!-- END PAGE HEADER-->';

0 commit comments

Comments
 (0)