[Qual] Fixed missing return statements
This commit is contained in:
parent
27d52cf2b0
commit
053f6ae494
@ -282,8 +282,9 @@ class DoliDBMssql extends DoliDB
|
||||
elseif ($this->transaction_opened > 1)
|
||||
{
|
||||
return true;
|
||||
} else
|
||||
trigger_error("Commit requested but no transaction remain");
|
||||
}
|
||||
trigger_error("Commit requested but no transaction remain");
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -306,8 +307,9 @@ class DoliDBMssql extends DoliDB
|
||||
elseif ($this->transaction_opened > 1)
|
||||
{
|
||||
return true;
|
||||
} else
|
||||
trigger_error("Rollback requested but no transaction remain");
|
||||
}
|
||||
trigger_error("Rollback requested but no transaction remain");
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -504,6 +504,7 @@ class DoliDBSqlite3 extends DoliDB
|
||||
if ($ret) {
|
||||
return (object) $ret;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@ -522,6 +523,7 @@ class DoliDBSqlite3 extends DoliDB
|
||||
if ($ret) {
|
||||
return (array) $ret;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user