]> 4ch.mooo.com Git - test.git/commitdiff
modified: yotsubanome.php
authorsparky4 <sparky4@4ch.irc.su>
Wed, 11 Jul 2012 17:18:17 +0000 (12:18 -0500)
committersparky4 <sparky4@4ch.irc.su>
Wed, 11 Jul 2012 17:18:17 +0000 (12:18 -0500)
yotsubanome.php

index 8ccfcf68452e59237f7b2d32b15724e5b231fb17..892aebb6ef2ba616f4d13f0f0e03d51ab91b93ad 100755 (executable)
@@ -343,6 +343,7 @@ function arrangeThread($PTE, $tree, $tree_cut, $posts, $hiddenReply, $resno=0, $
                // This may be a blob of code but it apparently works >< please help me here
                $tripkeycount = substr_count($name, TRIP_KEY);
                if($config['ALLOW_NONAME']==3){
+                       if($name) $name = '';
                        if($email) $now = "<a href=\"mailto:$email\" class=\"linkmail\">$now</a>";
                }elseif($config['ALLOW_NONAME']==2){ // 強制砍名
                        if($tripkeycount==1) $name = preg_match('/(\\'.TRIP_KEY.'.{10})/', $name, $matches) ? '<span class="postertrip">'.$matches[1].'</span>' : '';