I think, that at line 38 there should be somethink like this:
$form['filter_urlfilter']["urlfilter_length_$format"] = array(
insted of
$form['filter_urlfilter']['urlfilter_length'] = array(

In the original case the value entered to the textfield is lost and not saved to the proper format variable.

CommentFileSizeAuthor
#4 urlfilter_settings.patch835 bytesjmiccolis

Comments

ron collins’s picture

changing that line to: $form['filter_urlfilter']['urlfilter_length_'.$format] = array(...

worked for me.

jmiccolis’s picture

I can confim the bug and the fix +1

Poetro’s picture

worked for me too.
+1 on that is a fix

jmiccolis’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new835 bytes

Attached is a patch for this, using the above fix.

alexandreracine’s picture

Status: Reviewed & tested by the community » Fixed

I downloaded this module and in the current 4.7 source, this has been corrected. Closing.
Thanks for the patch.

Anonymous’s picture

Status: Fixed » Closed (fixed)