fixed PHP notices
This commit is contained in:
parent
d10f1a3575
commit
699c591a38
|
@ -303,7 +303,7 @@ class quota extends baseModule {
|
||||||
$id = $this->replaceSpecialChars($server);
|
$id = $this->replaceSpecialChars($server);
|
||||||
$i=0;
|
$i=0;
|
||||||
// loop for every mointpoint with quotas
|
// loop for every mointpoint with quotas
|
||||||
while ($this->quota[$server][$i][0]) {
|
while (isset($this->quota[$server][$i][0])) {
|
||||||
$this->quota[$server][$i][2] = $_POST[$i . '_2_' . $id];
|
$this->quota[$server][$i][2] = $_POST[$i . '_2_' . $id];
|
||||||
$this->quota[$server][$i][3] = $_POST[$i . '_3_' . $id];
|
$this->quota[$server][$i][3] = $_POST[$i . '_3_' . $id];
|
||||||
$this->quota[$server][$i][6] = $_POST[$i . '_6_' . $id];
|
$this->quota[$server][$i][6] = $_POST[$i . '_6_' . $id];
|
||||||
|
@ -374,7 +374,7 @@ class quota extends baseModule {
|
||||||
|
|
||||||
$i=0;
|
$i=0;
|
||||||
// loop for every mointpoint with enabled quotas
|
// loop for every mointpoint with enabled quotas
|
||||||
while ($this->quota[$server][$i][0]) {
|
while (isset($this->quota[$server][$i][0])) {
|
||||||
$fieldContent[] = array(
|
$fieldContent[] = array(
|
||||||
array('kind' => 'text', 'text' => $this->quota[$server][$i][0]),
|
array('kind' => 'text', 'text' => $this->quota[$server][$i][0]),
|
||||||
array('kind' => 'text', 'text' => $this->quota[$server][$i][1]),
|
array('kind' => 'text', 'text' => $this->quota[$server][$i][1]),
|
||||||
|
|
Loading…
Reference in New Issue