mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-15 10:28:48 +01:00
fix to include the mysql-error-msg again
This commit is contained in:
parent
cc9eace636
commit
982f00b803
@ -539,10 +539,11 @@
|
|||||||
/* private: error handling */
|
/* private: error handling */
|
||||||
function halt($msg, $line = '', $file = '')
|
function halt($msg, $line = '', $file = '')
|
||||||
{
|
{
|
||||||
|
$this->Error = @mysql_error($this->Link_ID); // need to be BEFORE unlock,
|
||||||
|
$this->Errno = @mysql_errno($this->Link_ID); // else we get its error or none
|
||||||
|
|
||||||
$this->unlock(); /* Just in case there is a table currently locked */
|
$this->unlock(); /* Just in case there is a table currently locked */
|
||||||
|
|
||||||
$this->Error = @mysql_error($this->Link_ID);
|
|
||||||
$this->Errno = @mysql_errno($this->Link_ID);
|
|
||||||
if($this->Halt_On_Error == 'no')
|
if($this->Halt_On_Error == 'no')
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user