Skip to content
Snippets Groups Projects
Commit bbaf1b1f authored by Jared Hancock's avatar Jared Hancock
Browse files

forms: Fix bug rendering client view page

parent 48708981
No related branches found
No related tags found
No related merge requests found
...@@ -181,19 +181,15 @@ if($ticket->getThreadCount() && ($thread=$ticket->getClientThread())) { ...@@ -181,19 +181,15 @@ if($ticket->getThreadCount() && ($thread=$ticket->getClientThread())) {
data-draft-namespace="ticket.client" data-draft-namespace="ticket.client"
data-draft-object-id="<?php echo $ticket->getId(); ?>" data-draft-object-id="<?php echo $ticket->getId(); ?>"
class="richtext ifhtml draft"><?php echo $info['message']; ?></textarea> class="richtext ifhtml draft"><?php echo $info['message']; ?></textarea>
</td>
</tr>
<?php <?php
if ($messageField->isAttachmentsEnabled()) { ?> if ($messageField->isAttachmentsEnabled()) { ?>
<tr>
<td colspan="2">
<?php <?php
print $attachments->render(true); print $attachments->render(true);
?> ?>
</td>
</tr>
<?php <?php
} ?> } ?>
</td>
</tr>
</table> </table>
<p style="padding-left:165px;"> <p style="padding-left:165px;">
<input type="submit" value="<?php echo __('Post Reply');?>"> <input type="submit" value="<?php echo __('Post Reply');?>">
......
...@@ -123,6 +123,6 @@ if($ticket && $ticket->checkUserAccess($thisclient)) { ...@@ -123,6 +123,6 @@ if($ticket && $ticket->checkUserAccess($thisclient)) {
} }
include(CLIENTINC_DIR.'header.inc.php'); include(CLIENTINC_DIR.'header.inc.php');
include(CLIENTINC_DIR.$inc); include(CLIENTINC_DIR.$inc);
print $response_form->getMedia(); print $tform->getMedia();
include(CLIENTINC_DIR.'footer.inc.php'); include(CLIENTINC_DIR.'footer.inc.php');
?> ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment