mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
fixed wrong $this->db instead of $db in error-message
This commit is contained in:
parent
4860925084
commit
30859798d1
@ -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__))
|
if (!$db->query($alter_table,__LINE__,__FILE__))
|
||||||
{
|
{
|
||||||
echo "<p>SQL Error: ".nl2br($alter_table)."</p>\n";
|
echo "<p>SQL Error: ".nl2br($alter_table)."</p>\n";
|
||||||
echo "<b>{$this->db->Type} Error</b>: {$this->db->Errno} ({$this->db->Error})</p>\n";
|
echo "<b>{$db->Type} Error</b>: {$db->Errno} ({$db->Error})</p>\n";
|
||||||
echo "<p>continuing ...</p>\n";
|
echo "<p>continuing ...</p>\n";
|
||||||
continue;
|
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__))
|
if (!$db->query($alter_table_back,__LINE__,__FILE__))
|
||||||
{
|
{
|
||||||
echo "<p><b>SQL Error</b>: ".nl2br($alter_table_back)."</p>\n";
|
echo "<p><b>SQL Error</b>: ".nl2br($alter_table_back)."</p>\n";
|
||||||
echo "<b>{$this->db->Type} Error</b>: {$this->db->Errno} ({$this->db->Error})</p>\n";
|
echo "<b>{$db->Type} Error</b>: {$db->Errno} ({$db->Error})</p>\n";
|
||||||
echo "<p>continuing ...</p>\n";
|
echo "<p>continuing ...</p>\n";
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user