diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-01-06 06:40:26 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-01-06 06:40:26 +1100 |
| commit | c519bd66f5df0af25ae5a29d20e669c49ea02869 (patch) | |
| tree | e59dc88fe2dd29cdfe3cc8b8a240a4c8ef75073f /inc/display.php | |
| parent | f21577fa5a44358bb3784e9ede8b2d2ed01138f9 (diff) | |
horrible bug in the "post too long. click here to view the full text" truncating
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php index cd2e4a5d..7a1a3901 100644 --- a/inc/display.php +++ b/inc/display.php @@ -188,7 +188,7 @@ // List successfully closed tags if(preg_match_all('/(<\/([\w]+))>/', $body, $closed_tags)) { for($x=0;$x<count($closed_tags[0]);$x++) { - unset($tags[array_search($closed_tags[1][$x], $tags)]); + unset($tags[array_search($closed_tags[2][$x], $tags)]); } } |
