diff --git a/html/includes/authentication/ldap.inc.php b/html/includes/authentication/ldap.inc.php
index 397ca1983..94f9791fe 100644
--- a/html/includes/authentication/ldap.inc.php
+++ b/html/includes/authentication/ldap.inc.php
@@ -71,7 +71,7 @@ function user_exists($username)
{
return 1;
}
-
+
return 0;
}
@@ -95,7 +95,7 @@ function get_userlevel($username)
$userlevel = $config['auth_ldap_groups'][$groupname]['level'];
}
}
-
+
return $userlevel;
}
@@ -111,7 +111,7 @@ function get_userid($username)
{
return $entries[0]['uidnumber'][0];
}
-
+
return -1;
}
diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php
index f058fb0df..8e0b8f9d9 100644
--- a/html/includes/functions.inc.php
+++ b/html/includes/functions.inc.php
@@ -207,7 +207,7 @@ function generate_graph_popup($graph_array)
$graph_array['from'] = $config['time']['year'];
$content .= generate_graph_tag($graph_array);
$content .= "";
-
+
$graph_array['link'] = "graphs/type=" . $graph_array['type'] . "/id=" . $graph_array['id'];
return overlib_link($graph_array['link'], $graph, $content, NULL);
diff --git a/html/includes/graphs/application/mysql_innodb_buffer_pool.inc.php b/html/includes/graphs/application/mysql_innodb_buffer_pool.inc.php
index d6df9e7fb..84adc77ba 100644
--- a/html/includes/graphs/application/mysql_innodb_buffer_pool.inc.php
+++ b/html/includes/graphs/application/mysql_innodb_buffer_pool.inc.php
@@ -16,7 +16,7 @@ if (is_file($rrd_filename))
foreach ($array as $ds => $vars)
{
$rrd_list[$i]['filename'] = $rrd_filename;
- if(is_array($vars))
+ if (is_array($vars))
{
$rrd_list[$i]['descr'] = $vars['descr'];
} else {
diff --git a/html/includes/graphs/application/mysql_innodb_buffer_pool_activity.inc.php b/html/includes/graphs/application/mysql_innodb_buffer_pool_activity.inc.php
index 9c277aae2..30416f0d5 100644
--- a/html/includes/graphs/application/mysql_innodb_buffer_pool_activity.inc.php
+++ b/html/includes/graphs/application/mysql_innodb_buffer_pool_activity.inc.php
@@ -15,7 +15,7 @@ if (is_file($rrd_filename))
foreach ($array as $ds => $vars)
{
$rrd_list[$i]['filename'] = $rrd_filename;
- if(is_array($vars))
+ if (is_array($vars))
{
$rrd_list[$i]['descr'] = $vars['descr'];
} else {
diff --git a/html/includes/graphs/application/mysql_innodb_insert_buffer.inc.php b/html/includes/graphs/application/mysql_innodb_insert_buffer.inc.php
index 1c910bda3..d6e46f7b0 100644
--- a/html/includes/graphs/application/mysql_innodb_insert_buffer.inc.php
+++ b/html/includes/graphs/application/mysql_innodb_insert_buffer.inc.php
@@ -15,7 +15,7 @@ if (is_file($rrd_filename))
foreach ($array as $ds => $vars)
{
$rrd_list[$i]['filename'] = $rrd_filename;
- if(is_array($vars))
+ if (is_array($vars))
{
$rrd_list[$i]['descr'] = $vars['descr'];
} else {
diff --git a/html/includes/graphs/application/mysql_innodb_io_pending.inc.php b/html/includes/graphs/application/mysql_innodb_io_pending.inc.php
index b4116fce1..d738cf3c5 100644
--- a/html/includes/graphs/application/mysql_innodb_io_pending.inc.php
+++ b/html/includes/graphs/application/mysql_innodb_io_pending.inc.php
@@ -19,7 +19,7 @@ if (is_file($rrd_filename))
foreach ($array as $ds => $vars)
{
$rrd_list[$i]['filename'] = $rrd_filename;
- if(is_array($vars))
+ if (is_array($vars))
{
$rrd_list[$i]['descr'] = $vars['descr'];
} else {
diff --git a/html/includes/graphs/generic_multi_bits_separated.inc.php b/html/includes/graphs/generic_multi_bits_separated.inc.php
index afd4066fc..e7d30be71 100644
--- a/html/includes/graphs/generic_multi_bits_separated.inc.php
+++ b/html/includes/graphs/generic_multi_bits_separated.inc.php
@@ -34,7 +34,7 @@ foreach ($rrd_list as $rrd)
$colour_out=$config['graph_colours'][$colours_out][$iter];
$descr = str_replace(":", "\:", substr(str_pad($rrd['descr'], $descr_len),0,$descr_len)) . " In";
- if(isset($rrd['descr_in']))
+ if (isset($rrd['descr_in']))
{
$descr = str_replace(":", "\:", substr(str_pad($rrd['descr_in'], $descr_len),0,$descr_len)) . " In";
}
diff --git a/html/includes/graphs/generic_multi_simplex_seperated.inc.php b/html/includes/graphs/generic_multi_simplex_seperated.inc.php
index 7db8550c7..1a19ab8fd 100644
--- a/html/includes/graphs/generic_multi_simplex_seperated.inc.php
+++ b/html/includes/graphs/generic_multi_simplex_seperated.inc.php
@@ -14,7 +14,7 @@ $rrd_options .= " COMMENT:'\\n'";
$colour_iter=0;
foreach ($rrd_list as $i => $rrd)
{
- if($rrd['colour'])
+ if ($rrd['colour'])
{
$colour = $rrd['colour'];
} else {