Fix PHP notice in force_balance_tags(), props beaulebens, fixes #9067

git-svn-id: https://develop.svn.wordpress.org/trunk@10523 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-02-08 04:16:58 +00:00
parent d08b1b842d
commit aa574da3db
1 changed files with 1 additions and 1 deletions

View File

@ -848,7 +848,7 @@ function force_balance_tags( $text ) {
// clear the shifter // clear the shifter
$tagqueue = ''; $tagqueue = '';
// Pop or Push // Pop or Push
if ($regex[1][0] == "/") { // End Tag if ( isset($regex[1][0]) && '/' == $regex[1][0] ) { // End Tag
$tag = strtolower(substr($regex[1],1)); $tag = strtolower(substr($regex[1],1));
// if too many closing tags // if too many closing tags
if($stacksize <= 0) { if($stacksize <= 0) {