Skip to content
Snippets Groups Projects
Commit 3c8bddb1 authored by Puguh Wijayanto's avatar Puguh Wijayanto
Browse files

issue #85 fix menu part

parent 57174878
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -290,10 +290,14 @@ if (User::access(0)) {
if (isset($alertDanger)) {
$data['alertDanger'] = $alertDanger;
} else {
$menuid = Typo::cleanX(Typo::strip(Typo::filterXSS($_POST['id'])));
$name = Typo::cleanX(Typo::strip(Typo::filterXSS($_POST['name'])));
$class = Typo::cleanX(Typo::filterXSS($_POST['class']));
$menu = array(
$_POST['id'] => array(
'name' => Typo::cleanX($_POST['name']),
'class' => Typo::cleanX($_POST['class']),
$menuid => array(
'name' => $name,
'class' => $class,
'menu' => array(),
),
);
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment