Changeset 8101

Show
Ignore:
Timestamp:
08/23/09 17:43:38 (2 years ago)
Author:
p_lindheimer
Message:

fixes #3815 parking slots off by one

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.6/parking/functions.inc.php

    r7969 r8101  
    3434 
    3535    $parkpos1 = $parkext + 1; 
    36     $parkpos2 = $parkpos1 + $numslots
     36    $parkpos2 = $parkpos1 + $numslots -1
    3737 
    3838    if ($parkingenabled) { 
  • modules/branches/2.6/parking/module.xml

    r7970 r8101  
    22  <rawname>parking</rawname> 
    33  <name>Parking Lot</name> 
    4   <version>2.6.0.1</version> 
     4  <version>2.6.0.2</version> 
    55  <publisher>FreePBX</publisher> 
    66  <license>GPLv2+</license> 
     
    1313  </menuitems> 
    1414  <changelog> 
     15    *2.6.0.2* #3815 
    1516    *2.6.0.1* #3611, #3435, #3317, #3307 
    1617    *2.6.0.0* localizations, misc 
  • modules/branches/2.6/parking/page.parking.php

    r7792 r8101  
    7272  </tr> 
    7373  <tr> 
    74     <td><a href="#" class="info"><?php echo _("Number of Slots:")?><span><?php echo _("The total number of parking lot spaces to configure. Example, if 70 is the extension and 8 slots are configured, the parking slots will be 71-79")?></span></a></td> 
     74    <td><a href="#" class="info"><?php echo _("Number of Slots:")?><span><?php echo _("The total number of parking lot spaces to configure. Example, if 70 is the extension and 8 slots are configured, the parking slots will be 71-78")?></span></a></td> 
    7575    <td align=right> 
    7676      <select name="numslots" tabindex="<?php echo ++$tabindex;?>">