Skip to content
Snippets Groups Projects
Commit 439fbe80 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #2914 from protich/issue/2877


Issue/2877

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 384b288d 6e45dd0e
No related branches found
No related tags found
No related merge requests found
...@@ -206,6 +206,7 @@ class OsticketConfig extends Config { ...@@ -206,6 +206,7 @@ class OsticketConfig extends Config {
'client_avatar' => 'gravatar.mm', 'client_avatar' => 'gravatar.mm',
'agent_avatar' => 'gravatar.mm', 'agent_avatar' => 'gravatar.mm',
'ticket_lock' => 2, // Lock on activity 'ticket_lock' => 2, // Lock on activity
'max_open_tickets' => 0,
); );
function OsticketConfig($section=null) { function OsticketConfig($section=null) {
......
...@@ -166,7 +166,9 @@ if(!($maxfileuploads=ini_get('max_file_uploads'))) ...@@ -166,7 +166,9 @@ if(!($maxfileuploads=ini_get('max_file_uploads')))
<td><?php echo __('Maximum <b>Open</b> Tickets');?>:</td> <td><?php echo __('Maximum <b>Open</b> Tickets');?>:</td>
<td> <td>
<input type="text" name="max_open_tickets" size=4 value="<?php echo $config['max_open_tickets']; ?>"> <input type="text" name="max_open_tickets" size=4 value="<?php echo $config['max_open_tickets']; ?>">
<?php echo __('per end user'); ?> <i class="help-tip icon-question-sign" href="#maximum_open_tickets"></i> <?php echo __('per end user'); ?>
<span class="error">*&nbsp;<?php echo $errors['max_open_tickets']; ?></span>
<i class="help-tip icon-question-sign" href="#maximum_open_tickets"></i>
</td> </td>
</tr> </tr>
<tr> <tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment