mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +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);
|
$macros = json_decode(base64_decode($macros), true);
|
||||||
|
|
||||||
foreach($macros as $k => $m) {
|
foreach($macros as $k => $m) {
|
||||||
if ($m['hide'] == "1") {
|
$m_hide = "0";
|
||||||
$macros[$k]['value'] = io_input_password(get_parameter($m['macro'], ''));
|
if (isset($m['hide'])) {
|
||||||
} else {
|
$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'], '');
|
$macros[$k]['value'] = get_parameter($m['macro'], '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user