Commits

Tetsuya Morimoto committed fb9884a

fixed #3 to check 'all_columns' is exist in data dictionary

Comments (0)

Files changed (1)

ticketref/web_ui.py

         if fields_tref:  # column checkbox/select option
             fields_tref["label"] = _("Relationships")
             if fields_tref["type"] == u"textarea":
-                data["all_columns"].append(TREF)
+                if isinstance(data.get("all_columns"), list):
+                    data["all_columns"].append(TREF)
 
         for header in data["headers"]:  # list view header
             if header["name"] == TREF: