Browse Source

Small code improvement

pull/190/head
Aleksander Machniak 11 years ago
parent
commit
b360f707e8
  1. 2
      index.php

2
index.php

@ -211,7 +211,7 @@ if (empty($RCMAIL->user->ID)) {
$OUTPUT->show_message('sessionerror', 'error', null, true, -1);
}
if ($OUTPUT->ajax_call || !empty($_REQUEST['_framed'])) {
if ($OUTPUT->ajax_call || $OUTPUT->framed) {
$OUTPUT->command('session_error', $RCMAIL->url(array('_err' => 'session')));
$OUTPUT->send('iframe');
}

Loading…
Cancel
Save