From: richard Date: Wed, 12 Mar 2003 02:12:50 +0000 (+0000) Subject: fix for odd Multilink journalling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1623939ea6ac32cc0cf49cc615e8b04f7f76eb5c;p=roundup.git fix for odd Multilink journalling git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1586 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index 288b6f6..2fe97ea 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -599,8 +599,7 @@ class HTMLItem(HTMLPermissions): os.path.join(self._db.config.TEMPLATES, classname+'.item')) - if isinstance(prop, hyperdb.Multilink) and \ - len(args[k]) > 0: + if isinstance(prop, hyperdb.Multilink) and args[k]: ml = [] for linkid in args[k]: if isinstance(linkid, type(())):