diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-05-12 14:36:09 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-05-12 14:36:09 +0200 |
commit | b360f707e8b9749bb3825bdcf4408a92dd3e5548 (patch) | |
tree | 4d5f97303341813a58ca26344dd56f8e4877488a | |
parent | 3d36e8380648e231e8db1bb8410a47451b598776 (diff) |
Small code improvement
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'); } |