- fix undefined index in customer_domains.php

- add possibility to disable form-buttons if not needed
- corrected ticket-categories order-counter begin-value
- beautify domains-add and e-mail add form for customers
- added various missing hidden-fields in templates (Classic-theme)

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2011-03-04 11:46:40 +01:00
parent adeac9cce1
commit d6d19e7cb2
13 changed files with 35 additions and 28 deletions

View File

@@ -453,7 +453,7 @@ class ticket
{
$sql = "SELECT MAX(`logicalorder`) as `highestorder` FROM `" . TABLE_PANEL_TICKET_CATS . "`;";
$result = $_db->query_first($sql);
return (isset($result['highestorder']) ? (int)$result['highestorder'] : 1);
return (isset($result['highestorder']) ? (int)$result['highestorder'] : 0);
}
/**