diff --git a/awstats/bureau/class/m_aws.php b/awstats/bureau/class/m_aws.php index bcf1818f..2ca628b4 100644 --- a/awstats/bureau/class/m_aws.php +++ b/awstats/bureau/class/m_aws.php @@ -611,7 +611,7 @@ class m_aws { * @param string $dom the domain to uninstall */ function alternc_del_domain($dom) { - global $db,$err,$cuid; + global $err,$cuid; $err->log("aws","alternc_del_domain",$dom); $db=new DB_System(); $db->query("SELECT id,hostname FROM aws WHERE uid='$cuid' AND (hostname='$dom' OR hostname like '%.$dom')"); diff --git a/bureau/admin/adm_var_edit.php b/bureau/admin/adm_var_edit.php index b3a1ec9f..92f2f27f 100644 --- a/bureau/admin/adm_var_edit.php +++ b/bureau/admin/adm_var_edit.php @@ -80,6 +80,7 @@ array( if (empty($var)) { echo "
";__("Missing var name");echo "
"; include_once("foot.php"); + die(); } // Which one between var_value and var_value_arr ? diff --git a/bureau/admin/adm_variables.php b/bureau/admin/adm_variables.php index b37da6d3..58d5a27e 100644 --- a/bureau/admin/adm_variables.php +++ b/bureau/admin/adm_variables.php @@ -124,7 +124,7 @@ foreach( $variables->variables_list_name() as $varname => $varcomment) { ?>