dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5959481
)
followup r65504 — actually check that we hav errors before returnning from checkUserB...
author
Mark A. Hershberger
<mah@users.mediawiki.org>
Wed, 24 Nov 2010 19:52:59 +0000
(19:52 +0000)
committer
Mark A. Hershberger
<mah@users.mediawiki.org>
Wed, 24 Nov 2010 19:52:59 +0000
(19:52 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
da282fd
..
13ea7d9
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1475,7
+1475,7
@@
class Title {
* @see checkQuickPermissions for parameter information
*/
private function checkUserBlock( $action, $user, $errors, $doExpensiveQueries, $short ) {
- if( $short ) {
+ if( $short
&& count( $errors ) > 0
) {
return $errors;
}