Page 1 of 1

edit_post.php Still Uses Old Name / Subject maxlengths

Posted: Tue Nov 21, 2017 5:55 pm
by mkoch227
While going through the changes to update Mods for HESK, I noticed that edit_post wasn't updated to include the new maxlength values. They are still 40 for subject and 30 for name (see code snippet below).

Code: Select all

// Lines 369-376
<tr>
    <td style="text-align:right"><?php echo $hesklang['subject']; ?>: </td>
    <td><input type="text" name="subject" size="40" maxlength="40" value="<?php echo $ticket['subject'];?>" /></td>
</tr>
<tr>
    <td style="text-align:right"><?php echo $hesklang['name']; ?>: </td>
    <td><input type="text" name="name" size="40" maxlength="30" value="<?php echo $ticket['name'];?>" /></td>
</tr>

Re: edit_post.php Still Uses Old Name / Subject maxlengths

Posted: Tue Nov 21, 2017 7:08 pm
by Klemen
Thanks for the heads up. I guess we will see 2.7.5 soon, I will wait a few more days to see if anything else pops up.

Re: edit_post.php Still Uses Old Name / Subject maxlengths

Posted: Tue Nov 21, 2017 7:11 pm
by Klemen
Here's the fixed file if anyone needs this functionality asap:
https://hesk.com/extras/274_edit_post.zip

It goes into your "admin" folder.