Page 1 of 1

Tiny bug in version 1.1 and 1.1.2

Posted: Wed Sep 26, 2007 5:53 am
by jordanlev
When calling the $this->CreateInputSelectList() function from a module, a warning is displayed: "Notice: Undefined variable: value in .../lib/classes/module_support/modform.inc.php on line 323".

The line "$value = cms_htmlentities($value);" needs to be removed from the modform.inc.php file in CMSROOT/lib/classes/module_support/ -- this is line 323 in version 1.1.2, or line 324 in version 1.1 -- because there is no $value parameter passed to the function.

   -Jordan Lev
    Portland, Oregon, USA

Re: Tiny bug in version 1.1 and 1.1.2

Posted: Thu Sep 27, 2007 10:42 am
by Pierre M.
Hello,

Do you think the same about 1.1.3.1 ?

Pierre M.

Re: Tiny bug in version 1.1 and 1.1.2

Posted: Thu Sep 27, 2007 8:13 pm
by jordanlev
I didn't even realize there was a 1.1.3! I just checked that code and yes, this bug is in there too.

Re: Tiny bug in version 1.1 and 1.1.2

Posted: Thu Sep 27, 2007 8:21 pm
by calguy1000
Fixed in svn.

Re: Tiny bug in version 1.1 and 1.1.2

Posted: Fri Sep 28, 2007 8:30 pm
by Pierre M.
Thank you.

Pierre

Re: Tiny bug in version 1.1 and 1.1.2

Posted: Tue Oct 09, 2007 1:55 pm
by Lineapixel
Same problem/solution in version 1.1.4.1