Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #6 from jameless/patch-2

Edited line 37: Changed host to mysql_host
  • Loading branch information...
commit 4aca16e3f2d429f5c80ee76e16cc3089a312631b 2 parents dcb089c + bfa86a9
@Lange authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  WebUI/mgeapi/object.php
View
2  WebUI/mgeapi/object.php
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.