mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Fixed PHP Warnings.
(cherry picked from commit 1e0e18a3999176752ddaa7bdaf2266ebadea1f29)
This commit is contained in:
parent
502988c812
commit
a716b3aaa7
@ -894,9 +894,15 @@ if ($update_module || $create_module) {
|
||||
$macros = json_decode(base64_decode($macros), true);
|
||||
|
||||
foreach($macros as $k => $m) {
|
||||
if ($m['hide'] == "1") {
|
||||
$macros[$k]['value'] = io_input_password(get_parameter($m['macro'], ''));
|
||||
} else {
|
||||
$m_hide = "0";
|
||||
if (isset($m['hide'])) {
|
||||
$m_hide = $m['hide'];
|
||||
}
|
||||
if ($m_hide == "1") {
|
||||
$macros[$k]['value'] =
|
||||
io_input_password(get_parameter($m['macro'], ''));
|
||||
}
|
||||
else {
|
||||
$macros[$k]['value'] = get_parameter($m['macro'], '');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user