Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-mw committed Jun 20, 2022
1 parent 824b5cc commit d380c10
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions userfiles/modules/microweber/toolbar/editor_tools/module/index.php
@@ -1,16 +1,18 @@
<?php
$uid = uniqid();
$uid = uniqid();

$type = '';
$params = array();
$type = '';
$params = array();


if (array_key_exists('type', $_GET)) {
$type = $_GET['type'];
}
if (array_key_exists('params', $_GET)) {
$params = explode(',', $_GET['params']);
}
if (array_key_exists('type', $_GET)) {
$type = $_GET['type'];
}
if (array_key_exists('params', $_GET)) {
$params = explode(',', $_GET['params']);
}
$type = xss_clean($type);
$params = xss_clean($params);
?>


Expand Down

0 comments on commit d380c10

Please sign in to comment.