Fix broken postbox when user has no attach perms
Arantor

Arantor commited on 2015-01-18 16:31:15
Showing 1 changed files, with 4 additions and 0 deletions.

... ...
@@ -651,7 +651,11 @@ function template_ticket_additional_options()
651 651
 						<hr />';
652 652
 
653 653
 	if (empty($context['current_attachments']) && empty($context['ticket_form']['do_attach']))
654
+	{
655
+		echo '
656
+					</div>';
654 657
 		return;
658
+	}
655 659
 
656 660
 	if (!empty($context['current_attachments']))
657 661
 	{
658 662