/[smecontribs]/rpms/smeserver-userpanel/contribs8/smeserver-userpanel-0.9_telnet_unitialized_values.patch
ViewVC logotype

Annotation of /rpms/smeserver-userpanel/contribs8/smeserver-userpanel-0.9_telnet_unitialized_values.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Aug 22 18:58:50 2014 UTC (10 years, 3 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-userpanel-0_9-18_el5_sme, HEAD
* Fri Aug 22 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.9-18.sme
- added a default value to $TelnetAccess and $TelnetMode [SME:8537]

1 stephdl 1.1 diff -Nur smeserver-userpanel-0.9.old/root/usr/lib/perl5/site_perl/esmith/cgi5.pm smeserver-userpanel-0.9/root/usr/lib/perl5/site_perl/esmith/cgi5.pm
2     --- smeserver-userpanel-0.9.old/root/usr/lib/perl5/site_perl/esmith/cgi5.pm 2014-08-22 20:35:35.703544729 +0200
3     +++ smeserver-userpanel-0.9/root/usr/lib/perl5/site_perl/esmith/cgi5.pm 2014-08-22 20:36:39.364635943 +0200
4     @@ -128,8 +128,8 @@
5     $q->h5 ('Warning: you have not yet changed the default system password.'));
6     }
7    
8     - my $TelnetAccess = db_get_prop($confref, 'telnet', 'access');
9     - my $TelnetMode = db_get_prop($confref, 'telnet', 'status');
10     + my $TelnetAccess = db_get_prop($confref, 'telnet', 'access') || '';
11     + my $TelnetMode = db_get_prop($confref, 'telnet', 'status') || '';
12     if ($TelnetAccess eq 'public' && $TelnetMode eq 'enabled')
13     {
14     print $q->div ({-STYLE => 'color: #FF3E00'},

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed