Skip to content

Commit f9c424d

Browse files
author
Till Brehm
committed
Quota value of website not tested when new site is created.
1 parent 896465f commit f9c424d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/sites/web_domain_edit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,8 @@ function onSubmit() {
529529
// only generate quota and traffic warnings if value has changed
530530
if($this->id > 0) {
531531
$old_web_values = $app->db->queryOneRecord("SELECT * FROM web_domain WHERE domain_id = ".$app->functions->intval($this->id));
532-
} else {
533-
$old_web_values = $_POST;
532+
} else {
533+
$old_web_values = array();
534534
}
535535

536536
//* Check the website quota of the client

0 commit comments

Comments
 (0)