diff --git a/install/lib/class.FroxlorInstall.php b/install/lib/class.FroxlorInstall.php index 4309e1a1..a3742b94 100644 --- a/install/lib/class.FroxlorInstall.php +++ b/install/lib/class.FroxlorInstall.php @@ -905,14 +905,14 @@ class FroxlorInstall { $content .= $this->_status_message('green', $this->_lng['requirements']['installed']); } - // check for curl extension - $content .= $this->_status_message('begin', $this->_lng['requirements']['phpcurl']); + // check for curl extension + $content .= $this->_status_message('begin', $this->_lng['requirements']['phpcurl']); - if (!extension_loaded('curl')) { - $content .= $this->_status_message('orange', $this->_lng['requirements']['notinstalled'] . "
" . $this->_lng['requirements']['curldescription']); - } else { - $content .= $this->_status_message('green', $this->_lng['requirements']['installed']); - } + if (!extension_loaded('curl')) { + $content .= $this->_status_message('orange', $this->_lng['requirements']['notinstalled'] . "
" . $this->_lng['requirements']['curldescription']); + } else { + $content .= $this->_status_message('green', $this->_lng['requirements']['installed']); + } // check for open_basedir $content .= $this->_status_message('begin', $this->_lng['requirements']['openbasedir']); diff --git a/scripts/jobs/cron_usage.inc.diskspace.php b/scripts/jobs/cron_usage.inc.diskspace.php index 0b6fe655..e1218a0d 100644 --- a/scripts/jobs/cron_usage.inc.diskspace.php +++ b/scripts/jobs/cron_usage.inc.diskspace.php @@ -83,7 +83,7 @@ while ($row = $result_stmt->fetch(PDO::FETCH_ASSOC)) { $result2 = Database::pexecute_first($result2_stmt, $result2_data); $mail_subject = html_entity_decode(replace_variables((($result2['value'] != '') ? $result2['value'] : $lng['mails']['webmaxpercent']['subject']), $replace_arr)); - $resul2_data['varname'] = 'diskmaxpercent_mailbody'; + $result2_data['varname'] = 'diskmaxpercent_mailbody'; $result2 = Database::pexecute_first($result2_stmt, $result2_data); $mail_body = html_entity_decode(replace_variables((($result2['value'] != '') ? $result2['value'] : $lng['mails']['webmaxpercent']['mailbody']), $replace_arr));