/[smeserver]/rpms/e-smith-ibays/sme8/e-smith-ibays-2.2.0-maxLength.patch
ViewVC logotype

Annotation of /rpms/e-smith-ibays/sme8/e-smith-ibays-2.2.0-maxLength.patch

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


Revision 1.1 - (hide annotations) (download)
Mon Oct 13 20:02:28 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: e-smith-ibays-2_2_0-13_el5_sme, e-smith-ibays-2_2_0-10_el5_sme, e-smith-ibays-2_2_0-15_el5_sme, e-smith-ibays-2_2_0-11_el5_sme, e-smith-ibays-2_2_0-5_el5_sme, e-smith-ibays-2_2_0-14_el5_sme, e-smith-ibays-2_2_0-6_el5_sme, e-smith-ibays-2_2_0-3_el5_sme, e-smith-ibays-2_2_0-2_el5_sme, e-smith-ibays-2_2_0-9_el5_sme, e-smith-ibays-2_2_0-16_el5_sme, e-smith-ibays-2_2_0-8_el5_sme, e-smith-ibays-2_2_0-7_el5_sme, e-smith-ibays-2_2_0-4_el5_sme, HEAD
Fix length

1 slords 1.1 --- e-smith-ibays-2.0.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/ibays.pm.maxLength 2008-10-07 11:35:52.000000000 -0600
2     +++ e-smith-ibays-2.0.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/ibays.pm 2008-10-13 13:58:46.000000000 -0600
3     @@ -218,7 +218,7 @@
4     my $self = shift;
5     my $in = $self->{cgi}->param('name') || '';
6     my $action = $self->{cgi}->param('action') || '';
7     - my $maxLength = $configdb->get('maxIbayNameLength');
8     + my $maxLength = $configdb->get('maxIbayNameLength')->value;
9     print qq(<tr><td colspan="2">) . $self->localise('NAME_FIELD_DESC',
10     {maxLength => $maxLength}) . qq(</td></tr>);
11     print qq(<tr><td class="sme-noborders-label">) .
12     @@ -399,7 +399,7 @@
13     sub max_ibay_name_length {
14     my ($self, $data) = @_;
15     $configdb->reload();
16     - my $max = $configdb->get('maxIbayNameLength');
17     + my $max = $configdb->get('maxIbayNameLength')->value;
18    
19     if (length($data) <= $max) {
20     return "OK";

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