(bug 26854) Invalid user names go unchecked. Applied most of the patch submitted...
[lhc/web/wiklou.git] / includes / job / EnotifNotifyJob.php
index 8545043..eb154ec 100644 (file)
@@ -24,6 +24,7 @@ class EnotifNotifyJob extends Job {
                        $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(