tedPrintableEncode($input, $line_max = 76) { // I use this instead of the original one, because it supports word wrap (gerald)
$hex = array('0... (open.staff_id=0 OR open.staff_id='.db_input($thisuser->getId()).' OR dept.manager_id='.db_input($thisuser->getId()).') '; // gerald
$sql.='LEFT JOIN '.TIC... ue.staff_id=0 OR overdue.staff_id='.db_input($thisuser->getId()).' OR dept.manager_id='.db_input($thisuser->getId()).') '; // gerald
$sql.='LEFT JOIN '.TIC... sql.=' WHERE ticket.dept_id IN('.implode(',',$thisuser->getDepts()).') OR ticket.staff_id='.db_input($thisuser->getId());
}
</code>
Wenn man schon dabei ist,