Clearing up this working copy. Adding a couple of braces
[lhc/web/wiklou.git] / includes / User.php
index fe95fb1..dbe6b17 100644 (file)
@@ -2191,8 +2191,9 @@ class User {
         * @return Boolean: True if action is allowed, else false
         */
        function isAllowed( $action = '' ) {
-               if ( $action === '' )
+               if ( $action === '' ) {
                        return true; // In the spirit of DWIM
+               }
                # Patrolling may not be enabled
                if( $action === 'patrol' || $action === 'autopatrol' ) {
                        global $wgUseRCPatrol, $wgUseNPPatrol;