From 6e45dd0ec12d7e86fd6c85651b1eac6a672ab5c6 Mon Sep 17 00:00:00 2001
From: jdelhome3578 <jdelaney@tallmadge-ohio.org>
Date: Thu, 21 Jan 2016 11:28:12 -0500
Subject: [PATCH] Add max_open_tickets error message

---
 include/staff/settings-tickets.inc.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/staff/settings-tickets.inc.php b/include/staff/settings-tickets.inc.php
index 751df274c..59570b442 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">*&nbsp;<?php echo $errors['max_open_tickets']; ?></span>
+                <i class="help-tip icon-question-sign" href="#maximum_open_tickets"></i>
             </td>
         </tr>
         <tr>
-- 
GitLab