Skip to content

Commit

Permalink
Url within menu entry could be used to execude javascript #1138
Browse files Browse the repository at this point in the history
  • Loading branch information
Fasse committed Dec 21, 2021
1 parent 470f534 commit 56a0bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adm_program/modules/menu/menu_function.php
Expand Up @@ -49,7 +49,7 @@
$postComId = admFuncVariableIsValid($_POST, 'men_com_id', 'int');
$postName = admFuncVariableIsValid($_POST, 'men_name', 'string', array('default' => ''));
$postDesc = admFuncVariableIsValid($_POST, 'men_description', 'string', array('default' => ''));
$postUrl = admFuncVariableIsValid($_POST, 'men_url', 'string', array('default' => ''));
$postUrl = admFuncVariableIsValid($_POST, 'men_url', 'url', array('default' => ''));
$postIcon = admFuncVariableIsValid($_POST, 'men_icon', 'string', array('default' => ''));

// within standard menu items the url should not be changed
Expand Down

0 comments on commit 56a0bdc

Please sign in to comment.