Project

General

Profile

« Previous | Next » 

Revision ee65c642

Added by Ermal Luçi over 10 years ago

Fixes #4333 Unset previous defined values before using the new ones

View differences:

usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
551 551
		}
552 552
	}
553 553

  
554
	/* This is necessary since the wizard expects pecnefined fields. */
555
        unset($config['ezshaper']['step3']);
556
        $config['ezshaper']['step3'] = array();
557

  
554 558
	for ($i = 0; $i < $steps; $i++) {
555 559
		$config['ezshaper']['step3']["local{$i}download"] = $_POST["local{$i}download"];
556 560
		$config['ezshaper']['step3']["local{$i}downloadspeed"] = $_POST["local{$i}downloadspeed"];
usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
599 599
		}
600 600
	}
601 601

  
602
	/* This is necessary since the wizard expects pecnefined fields. */
603
	unset($config['ezshaper']['step3']);
604
	$config['ezshaper']['step3'] = array();
605

  
602 606
	for ($i = 0; $i < $localint; $i++) {
603 607
		$config['ezshaper']['step3']["local{$i}download"] = $_POST["local{$i}download"];
604 608
		$config['ezshaper']['step3']["local{$i}downloadspeed"] = $_POST["local{$i}downloadspeed"];

Also available in: Unified diff