	static public function editCategory($_category = null, $_id = 0, $_order = 1)
	{
		if ($_category != null && $_category != '' && $_id != 0) {
			if ($_order < 1) {
				$_order = 1;
			}
			
			$upd_stmt = Database::prepare("
				UPDATE `" . TABLE_PANEL_TICKET_CATS . "` SET
					`name` = :name,
					`logicalorder` = :lo
                  WHERE `id` = :id
			");
			Database::pexecute($upd_stmt, array(
				'name' => $_category,
				'lo' => $_order,
				'id' => $_id
			));
			return true;
		}
		return false;
	}
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.