From afc836e21433ef91d16b8a726191bc80544bab0a Mon Sep 17 00:00:00 2001 From: james Date: Mon, 3 Jan 2011 17:17:18 +0000 Subject: [PATCH] Add the 16 char username truncate fix to the update script too --- db/db_update.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/db_update.php b/db/db_update.php index 14b5fce..64b3f6e 100644 --- a/db/db_update.php +++ b/db/db_update.php @@ -19,6 +19,8 @@ else exit; } +//same fix here for mysql 5.1 not truncating the 16 char usernames +$DBUSER=substr($DBUSER,0,16); mysql_connect($DBHOST,$DBUSER,$DBPASS); mysql_select_db($DBNAME);