+# -*- encoding: utf-8 -*-
#
# Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/)
# This module is free software, and you may redistribute it and/or modify
if oldvalues is None and cl.classname == 'issue':
authid = cl.db.getuid()
authaddr = cl.db.user.get(authid, 'address', '')
+ dest = [authaddr,]
+
+ cc = getattr(cl.db.config, 'CREATION_CC', '')
+ if len(cc) > 0:
+ dest.extend([x.strip() for x in cc.split(',')])
+
title = cl.get(nodeid, 'title') or '%s message copy' % cl.classname
msg = "Votre demande d'assistance \"" + title \
+ "\" nous a bien été transmise et sera traitée dès que " \
+ "possible."
- cl.send_message(nodeid, None, msg, [authaddr,])
+ cl.send_message(nodeid, None, msg, dest)
# send a copy of all new messages to the nosy list
for msgid in determineNewMessages(cl, nodeid, oldvalues):