Commit f9c424db authored by Till Brehm's avatar Till Brehm
Browse files

Quota value of website not tested when new site is created.

parent 896465f4
...@@ -529,8 +529,8 @@ class page_action extends tform_actions { ...@@ -529,8 +529,8 @@ class page_action extends tform_actions {
// only generate quota and traffic warnings if value has changed // only generate quota and traffic warnings if value has changed
if($this->id > 0) { if($this->id > 0) {
$old_web_values = $app->db->queryOneRecord("SELECT * FROM web_domain WHERE domain_id = ".$app->functions->intval($this->id)); $old_web_values = $app->db->queryOneRecord("SELECT * FROM web_domain WHERE domain_id = ".$app->functions->intval($this->id));
} else { } else {
$old_web_values = $_POST; $old_web_values = array();
} }
//* Check the website quota of the client //* Check the website quota of the client
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment