1 |
diff -Nur smeserver-shared-folders-0.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm smeserver-shared-folders-0.1_mod/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm |
2 |
--- smeserver-shared-folders-0.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm 2011-07-08 10:52:54.000000000 +0200 |
3 |
+++ smeserver-shared-folders-0.1_mod/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm 2011-07-08 10:54:04.000000000 +0200 |
4 |
@@ -264,7 +264,7 @@ |
5 |
return undef if ($action eq 'modify' && $encryption ne 'enabled'); |
6 |
|
7 |
my $inactivity = (($sharename ne '') && ($accountdb->get($sharename))) ? |
8 |
- ($accountdb->get($sharename)->prop('Inactivity') || '30'):'30'; |
9 |
+ ($accountdb->get($sharename)->prop('InactivityTimeOut') || '30'):'30'; |
10 |
|
11 |
print_section_bar(); |
12 |
|
13 |
@@ -576,7 +576,7 @@ |
14 |
if (my $acct = $accountdb->new_record($name, { |
15 |
Name => $self->cgi->param('description'), |
16 |
Encryption => $self->cgi->param('encryption'), |
17 |
- InactivityTimeOut => $self->cgi->param('inactivity'), |
18 |
+ InactivityTimeOut => ($self->cgi->param('inactivity') || ''), |
19 |
WriteGroups => $WriteGroups, |
20 |
ReadGroups => $ReadGroups, |
21 |
RecycleBin => $self->cgi->param('recyclebin'), |
22 |
@@ -648,7 +648,7 @@ |
23 |
|
24 |
$acct->merge_props( |
25 |
Name => $self->cgi->param('description'), |
26 |
- InactivityTimeOut => $self->cgi->param('inactivity'), |
27 |
+ InactivityTimeOut => ($self->cgi->param('inactivity') || ''), |
28 |
WriteGroups => $WriteGroups, |
29 |
ReadGroups => $ReadGroups, |
30 |
RecycleBin => $self->cgi->param('recyclebin'), |