summaryrefslogtreecommitdiffstats
path: root/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Bool.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-08-13 09:23:09 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2015-08-13 09:23:42 +0200
commitde378700110c202bc25e9378cb5fdb852d27f07a (patch)
tree52d7d9ffb62d2dc732c54942fea59501473545d4 /vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Bool.php
parente282e47ac4b6cc2d309985996d02d8a9093050e4 (diff)
remove net url package and update composer deps
Diffstat (limited to 'vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Bool.php')
-rw-r--r--vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Bool.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Bool.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Bool.php
index 036a240e1..dea15d2cd 100644
--- a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Bool.php
+++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Bool.php
@@ -32,9 +32,6 @@ class HTMLPurifier_AttrDef_HTML_Bool extends HTMLPurifier_AttrDef
*/
public function validate($string, $config, $context)
{
- if (empty($string)) {
- return false;
- }
return $this->name;
}