Skip to content

Commit

Permalink
Populate empty attributes with NULL instead of TRUE
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/XML_HTMLSax/trunk@160389 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Harry Fuecks committed Jun 2, 2004
1 parent c66581d commit cdf2f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HTMLSax3/States.php
Expand Up @@ -154,7 +154,7 @@ function parseAttributes(&$context) {
$context->scanUntilCharacters("> \n\r\t");
}
} else if ($char !== NULL) {
$attributevalue = true;
$attributevalue = NULL;
$context->unscanCharacter();
}
$Attributes[$attributename] = $attributevalue;
Expand Down

0 comments on commit cdf2f24

Please sign in to comment.