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
(bug 26854) Invalid user names go unchecked. Applied most of the patch submitted...
[lhc/web/wiklou.git]
/
includes
/
job
/
EnotifNotifyJob.php
diff --git
a/includes/job/EnotifNotifyJob.php
b/includes/job/EnotifNotifyJob.php
index
8545043
..
eb154ec
100644
(file)
--- a/
includes/job/EnotifNotifyJob.php
+++ b/
includes/job/EnotifNotifyJob.php
@@
-24,6
+24,7
@@
class EnotifNotifyJob extends Job {
$editor = User::newFromId( $this->params['editorID'] );
// B/C, only the name might be given.
} else {
$editor = User::newFromId( $this->params['editorID'] );
// B/C, only the name might be given.
} else {
+ # FIXME: newFromName could return false on a badly configured wiki.
$editor = User::newFromName( $this->params['editor'], false );
}
$enotif->actuallyNotifyOnPageChange(
$editor = User::newFromName( $this->params['editor'], false );
}
$enotif->actuallyNotifyOnPageChange(