Branch: Tag:

1997-10-24

1997-10-24 20:10:33 by Fredrik Noring <noring@nocrew.org>

strlen bugs out with 0.

Rev: server/base_server/wizard.pike:1.39

1: - /* $Id: wizard.pike,v 1.38 1997/10/16 12:16:26 per Exp $ + /* $Id: wizard.pike,v 1.39 1997/10/24 20:10:33 noring Exp $    * name="Wizard generator";    * doc="This plugin generats all the nice wizards";    */
380:    err="";    return res;    }; -  if(strlen(err)) { +  if(err && strlen(err)) {    string res="<pre>"+err+"</pre>";    err="";    return res;