use instead of ['request'] to fix behaviour when request has been emptied due to failed auth
This commit is contained in:
parent
772d3472fb
commit
bb9d640c01
|
@ -218,7 +218,7 @@ if ( $redirect ) {
|
|||
return;
|
||||
}
|
||||
|
||||
if ( isset( $_REQUEST['request'] ) ) {
|
||||
if ( $request ) {
|
||||
foreach ( getSkinIncludes( 'ajax/'.$request.'.php', true, true ) as $includeFile ) {
|
||||
if ( !file_exists( $includeFile ) )
|
||||
Fatal( "Request '$request' does not exist" );
|
||||
|
|
Loading…
Reference in New Issue