Permalink
Browse files

Merge pull request #6 from jameless/patch-2

Edited line 37: Changed host to mysql_host
  • Loading branch information...
2 parents dcb089c + bfa86a9 commit 4aca16e3f2d429f5c80ee76e16cc3089a312631b @Lange committed Apr 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 WebUI/mgeapi/object.php
View
@@ -34,7 +34,7 @@ function connect($host, $db, $user, $pass, $port = 3306)
//MySQL query function, returns an array of the output
function mysql_query_stats($sql)
{
- $conn = mysql_connect(($this->host.":".$this->mysql_port), $this->mysql_user, $this->mysql_pass);
+ $conn = mysql_connect(($this->mysql_host.":".$this->mysql_port), $this->mysql_user, $this->mysql_pass);
mysql_select_db($this->mysql_db, $conn);
$result = mysql_query($sql);

0 comments on commit 4aca16e

Please sign in to comment.