fix editing employee pw, RT#32456
[freeside.git] / httemplate / edit / process / saved_search.html
1 <& elements/process.html,
2   'table'         => 'saved_search',
3   'popup_reload'  => 'Saving',
4   'post_new_object_callback' => $callback,
5 &>
6 <%init>
7
8 my $callback = sub {
9   my ($cgi, $obj) = @_;
10   $obj->usernum( $FS::CurrentUser::CurrentUser->usernum );
11   # if this would change it from its existing owner, replace_check
12   # will refuse
13
14   ''; #no error
15 };
16
17 </%init>