dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Avoid Database::tableName in WikiExporter"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLNamespacesMultiselectField.php
diff --git
a/includes/htmlform/fields/HTMLNamespacesMultiselectField.php
b/includes/htmlform/fields/HTMLNamespacesMultiselectField.php
index
cbcd3ba
..
860a351
100644
(file)
--- a/
includes/htmlform/fields/HTMLNamespacesMultiselectField.php
+++ b/
includes/htmlform/fields/HTMLNamespacesMultiselectField.php
@@
-28,7
+28,7
@@
class HTMLNamespacesMultiselectField extends HTMLSelectNamespace {
}
public function validate( $value, $alldata ) {
- if ( !$this->mParams['exists'] ) {
+ if ( !$this->mParams['exists']
|| $value === ''
) {
return true;
}