diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php index 18221ffc7..4691db5fd 100644 --- a/html/includes/functions.inc.php +++ b/html/includes/functions.inc.php @@ -341,8 +341,6 @@ function generate_graph_tag($args) $h = 0; foreach ($args as $key => $arg) { - if(strtolower($key) == 'width') - $w = $arg; switch (strtolower($key)) { case 'width': $w = $arg; @@ -353,8 +351,7 @@ function generate_graph_tag($args) $urlargs[] = $key."=".urlencode($arg); } - //return ''; - return ''; + return ''; }