diff --git a/include/class.config.php b/include/class.config.php index 61b5012dfb1b6309fec706a0f457a917e6297185..e1e7e7b06594aed1df81e6d89a580ff9cde32209 100644 --- a/include/class.config.php +++ b/include/class.config.php @@ -206,6 +206,7 @@ class OsticketConfig extends Config { 'client_avatar' => 'gravatar.mm', 'agent_avatar' => 'gravatar.mm', 'ticket_lock' => 2, // Lock on activity + 'max_open_tickets' => 0, ); function OsticketConfig($section=null) { diff --git a/include/staff/settings-tickets.inc.php b/include/staff/settings-tickets.inc.php index 751df274c22d7a4264bd83eda61c2e6111a8664a..59570b4423a44d7f95f435177b84044b2b7ef4f3 100644 --- a/include/staff/settings-tickets.inc.php +++ b/include/staff/settings-tickets.inc.php @@ -166,7 +166,9 @@ if(!($maxfileuploads=ini_get('max_file_uploads'))) <td><?php echo __('Maximum <b>Open</b> Tickets');?>:</td> <td> <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">* <?php echo $errors['max_open_tickets']; ?></span> + <i class="help-tip icon-question-sign" href="#maximum_open_tickets"></i> </td> </tr> <tr>