aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/icondirect.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile/icondirect.php b/mod/profile/icondirect.php
index 5ac9ee150..2a14c6f8a 100644
--- a/mod/profile/icondirect.php
+++ b/mod/profile/icondirect.php
@@ -45,7 +45,7 @@
$contents = '';
- if ($mysql_dblink = @mysql_connect($CONFIG->dbhost,$CONFIG->dbuser,$CONFIG->dbpass)) {
+ if ($mysql_dblink = @mysql_connect($CONFIG->dbhost,$CONFIG->dbuser,$CONFIG->dbpass, true)) {
$username = $_GET['username'];
@@ -130,4 +130,4 @@
set_input('size',$size);
require_once(dirname(__FILE__).'/icon.php');
}
-?> \ No newline at end of file
+?>