[dw-free] Unable to save EmailPosting information via manage/settings/?cat=mobile
[commit: http://hg.dwscoalition.org/dw-free/rev/dc38b4979caa]
http://bugs.dwscoalition.org/show_bug.cgi?id=1223
Fix regex to account for saving settings from the xposter and other things.
Patch by
afuna.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1223
Fix regex to account for saving settings from the xposter and other things.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/LJ/Setting.pm
-------------------------------------------------------------------------------- diff -r 1eeef8b46daa -r dc38b4979caa cgi-bin/LJ/Setting.pm --- a/cgi-bin/LJ/Setting.pm Mon May 18 00:39:01 2009 +0000 +++ b/cgi-bin/LJ/Setting.pm Mon May 18 00:58:43 2009 +0000 @@ -64,7 +64,7 @@ sub class_from_key { sub class_from_key { my ( $val ) = @_; - my ( $class, $key ) = $val =~ /^((?:[a-zA-Z0-9]+__)+[a-zA-Z0-9]+)_(\w+)$/; + my ( $class, $key ) = $val =~ /^((?:[a-zA-Z0-9]+__)+[a-zA-Z0-9]+)_([\w\[\]]+)$/; $class =~ s/__/::/g if $class; return ( $class, $key ); --------------------------------------------------------------------------------