mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update year range to include years passed
This is needed so that if going back to an old time condition see the year it previously had. This provides opportunity to update or remove the old time condition. This provides time to remove the old setting and not confuse it with new years.
This commit is contained in:
@@ -769,7 +769,7 @@
|
||||
switch (condition_var) {
|
||||
|
||||
case 'year': //years
|
||||
for (y = <?php echo date('Y')?>; y <= <?php echo (date('Y') + 10)?>; y++) {
|
||||
for (y = <?php echo (date('Y') - 5) ?>; y <= <?php echo (date('Y') + 10)?>; y++) {
|
||||
sel_start.options[sel_start.options.length] = new Option(y, y);
|
||||
sel_stop.options[sel_stop.options.length] = new Option(y, y);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user