Changeset 6048

Show
Ignore:
Timestamp:
07/17/08 17:43:44 (3 months ago)
Author:
p_lindheimer
Message:

#2686 allow more parking slots if the config file is configured with adequate space

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/bin/retrieve_op_conf_from_mysql.pl

    r6045 r6048  
    399399        my $parkcontext ; 
    400400        my $numberlots ; 
     401        my $maxparkingslots ; 
     402         
     403        $maxparkingslots = 0 ; 
     404        do 
     405        { 
     406                $btn=get_next_btn($parkingpos,$btn); 
     407                $maxparkingslots = $maxparkingslots - 1 ; 
     408        } 
     409        while ($btn != 0); 
     410        $maxparkingslots = $maxparkingslots + 1 ; 
     411 
    401412        foreach my $row ( @parkings ) { 
    402413                if (@{$row}[0] eq "parkingenabled") { 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads