mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Error display fix.
This commit is contained in:
@@ -1099,7 +1099,10 @@ class news_admin_ui extends e_admin_ui
|
||||
|
||||
$this->log_ping($response_value->serialize(), true);
|
||||
|
||||
/** @var xmlrpcval $fl_error */
|
||||
$fl_error = $response_value->structmem('flerror');
|
||||
|
||||
/** @var xmlrpcval $message */
|
||||
$message = $response_value->structmem('message');
|
||||
|
||||
// read the response
|
||||
@@ -1392,7 +1395,7 @@ class news_admin_ui extends e_admin_ui
|
||||
if($qry !== e_QUERY)
|
||||
{
|
||||
$mes = e107::getMessage();
|
||||
$this->show_message('Insufficient permissions!', E_MESSAGE_ERROR, true);
|
||||
$mes->add('Insufficient permissions!', E_MESSAGE_ERROR, true);
|
||||
session_write_close();
|
||||
header('Location: '.$url);
|
||||
}
|
||||
|
Reference in New Issue
Block a user