More reversion of r77297, 2 of 2 commits to keep it readable in CR (hopefully)
[lhc/web/wiklou.git] / includes / Title.php
index da282fd..13ea7d9 100644 (file)
@@ -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;
                }