Redo WhatLinksHere query and add a *_from_namespace field to link tables
[lhc/web/wiklou.git] / includes / logging / LogEventsList.php
index 71dc258..c88af04 100644 (file)
@@ -446,7 +446,8 @@ class LogEventsList extends ContextSource {
                        } else {
                                $permissions = array( 'deletedhistory' );
                        }
-                       wfDebug( "Checking for " . implode( ', ', $permissions ) . " due to $field match on $bitfield\n" );
+                       $permissionlist = implode( ', ', $permissions );
+                       wfDebug( "Checking for $permissionlist due to $field match on $bitfield\n" );
                        return call_user_func_array( array( $user, 'isAllowedAny' ), $permissions );
                }
                return true;