Branch: Tag:

1999-10-17

1999-10-17 00:57:26 by Johan Schön <js@opera.com>

Added catch.

Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Threads.pike:1.3

19:       array(mapping) flatten(int depth)    { - // werror("%d, ",text->no); +  string author_name; +  catch { +  author_name=text->author->name; +  }; +  if(!author_name) +  author_name="Deleted person";    return ({ ([ "no": (string)text->no, -  "author_no": (string)text->author->name, -  "author_name":text->author->name, +  "author_no": (string)text->author->no, +  "author_name":author_name,    "subject": text->subject,    "unread": (unread?"un":""),    "depth": (string)depth ]),