Revision c2461a56
Added by Ermal LUÇI over 14 years ago
etc/inc/shaper.inc | ||
---|---|---|
2867 | 2867 |
} |
2868 | 2868 |
if (isset($q['qlimit']) && $q['qlimit'] <> "") |
2869 | 2869 |
$this->SetQlimit($q['qlimit']); |
2870 |
else |
|
2871 |
$this->SetQlimit(""); |
|
2870 | 2872 |
if (isset($q['mask']) && $q['mask'] <> "") |
2871 | 2873 |
$this->SetMask($q['mask']); |
2874 |
else |
|
2875 |
$this->SetMask(""); |
|
2872 | 2876 |
if (isset($q['buckets']) && $q['buckets'] <> "") |
2873 | 2877 |
$this->SetBuckets($q['buckets']); |
2878 |
else |
|
2879 |
$this->SetBuckets(""); |
|
2874 | 2880 |
if (isset($q['plr']) && $q['plr'] <> "") |
2875 | 2881 |
$this->SetPlr($q['plr']); |
2882 |
else |
|
2883 |
$this->SetPlr(""); |
|
2876 | 2884 |
if (isset($q['delay']) && $q['delay'] <> "") |
2877 | 2885 |
$this->SetDelay($q['delay']); |
2886 |
else |
|
2887 |
$this->SetDelay(0); |
|
2878 | 2888 |
if (isset($q['description']) && $q['description'] <> "") |
2879 | 2889 |
$this->SetDescription($q['description']); |
2890 |
else |
|
2891 |
$this->SetDescription(""); |
|
2880 | 2892 |
$this->SetEnabled($q['enabled']); |
2881 | 2893 |
|
2882 | 2894 |
} |
... | ... | |
4004 | 4016 |
$dn_default_shaper_msg .= " </p></strong></span>"; |
4005 | 4017 |
$dn_default_shaper_msg .= "</td></tr>"; |
4006 | 4018 |
|
4007 |
?> |
|
4019 |
?> |
Also available in: Unified diff
If no value is posted means we have no value to save in config and should unset any pervious set ones.