mirror of
https://github.com/e107inc/e107.git
synced 2025-09-09 22:01:05 +02:00
This commit is contained in:
@@ -454,6 +454,11 @@ class news_admin_ui extends e_admin_ui
|
||||
$tmp = explode(chr(35), $new_data['news_author']);
|
||||
$new_data['news_author'] = intval($tmp[0]);
|
||||
|
||||
if(E107_DBG_SQLQUERIES)
|
||||
{
|
||||
e107::getMessage()->addInfo("<h3>Raw _POST data</h3>".print_a($_POST,true));
|
||||
}
|
||||
|
||||
return $new_data;
|
||||
}
|
||||
|
||||
@@ -481,6 +486,11 @@ class news_admin_ui extends e_admin_ui
|
||||
$new_data['news_author'] = intval($tmp[0]);
|
||||
}
|
||||
|
||||
if(E107_DBG_SQLQUERIES)
|
||||
{
|
||||
e107::getMessage()->addInfo("<h3>Raw _POST data</h3>".print_a($_POST,true));
|
||||
}
|
||||
|
||||
return $new_data;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user