Further prevent checking for the tags limit

        Patch by exor674. 

diffs (13 lines):

diff -r e8a3218f40d6 -r fd96649d7d3e cgi-bin/taglib.pl
--- a/cgi-bin/taglib.pl Sat May 09 18:04:39 2009 +0800
+++ b/cgi-bin/taglib.pl Sat May 09 10:24:34 2009 +0000
@@ -788,7 +788,8 @@ sub update_logtags {
     }
 
     # now we can create the new tags, since we know we're safe
-    LJ::Tags::create_usertag($u, $_, { display => 1 }) foreach @to_create;
+    # We still need to propagate ignore_max, as create_usertag does some 
checks of it's own.
+    LJ::Tags::create_usertag( $u, $_, { display => 1, ignore_max => 
$opts->{ignore_max} } ) foreach @to_create;
 
     # %add and %delete are accurate, but we need to track necessary
     # security updates; this is a hash of keyword ids and a modification
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to