diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-03-10 22:28:34 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-03-10 22:28:34 -0700 |
commit | 57c5cf47f41739b57c563ddac09d0bd49d6d67b4 (patch) | |
tree | 187f1fdd593bbaeea03dfb2bd473a4dfe502f775 /httemplate/edit/process/elements | |
parent | f37b4c3e04f6dfc56ba967e270b5b49edafe81f6 (diff) |
hide svc_phone.sip_password like svc_acct._password unless showpasswords config is on, RT#20862
Diffstat (limited to 'httemplate/edit/process/elements')
-rw-r--r-- | httemplate/edit/process/elements/process.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html index 2d39e9dce..fb1ee7a27 100644 --- a/httemplate/edit/process/elements/process.html +++ b/httemplate/edit/process/elements/process.html @@ -263,6 +263,9 @@ foreach my $value ( @values ) { if ( !$error ) { if ( $old_pkey ) { + + &{ $opt{'edit_callback'} }( $new, $old ) if $opt{'edit_callback'}; + $error = $new->replace($old, @args); } else { $error = $new->insert(@args); |