diff --git a/setup/fix_mysql_charset.php b/setup/fix_mysql_charset.php index 26593b9995..839ca58ea3 100644 --- a/setup/fix_mysql_charset.php +++ b/setup/fix_mysql_charset.php @@ -148,7 +148,7 @@ if (substr($db->Type,0,5) == 'mysql' && $db_version >= 4.1 && $GLOBALS['egw_setu if (!$db->query($alter_table,__LINE__,__FILE__)) { echo "
SQL Error: ".nl2br($alter_table)."
\n"; - echo "{$this->db->Type} Error: {$this->db->Errno} ({$this->db->Error})\n"; + echo "{$db->Type} Error: {$db->Errno} ({$db->Error})\n"; echo "continuing ...
\n"; continue; } @@ -164,7 +164,7 @@ if (substr($db->Type,0,5) == 'mysql' && $db_version >= 4.1 && $GLOBALS['egw_setu if (!$db->query($alter_table_back,__LINE__,__FILE__)) { echo "SQL Error: ".nl2br($alter_table_back)."
\n"; - echo "{$this->db->Type} Error: {$this->db->Errno} ({$this->db->Error})\n"; + echo "{$db->Type} Error: {$db->Errno} ({$db->Error})\n"; echo "continuing ...
\n"; continue; }