mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
"switched permanent debug message off again"
This commit is contained in:
parent
dd157b2cd0
commit
6b74d6ad88
@ -581,6 +581,10 @@ class so_sql
|
|||||||
*/
|
*/
|
||||||
function delete($keys=null)
|
function delete($keys=null)
|
||||||
{
|
{
|
||||||
|
if ($this->autoinc_id && $keys && !is_array($keys))
|
||||||
|
{
|
||||||
|
$keys = array($this->autoinc_id => $keys);
|
||||||
|
}
|
||||||
if (!is_array($keys) || !count($keys)) // use internal data
|
if (!is_array($keys) || !count($keys)) // use internal data
|
||||||
{
|
{
|
||||||
$data = $this->data;
|
$data = $this->data;
|
||||||
@ -977,7 +981,7 @@ class so_sql
|
|||||||
{
|
{
|
||||||
if ($data[$key_col] != $other[$key_col])
|
if ($data[$key_col] != $other[$key_col])
|
||||||
{
|
{
|
||||||
//if ((int) $this->debug >= 4)
|
if ((int) $this->debug >= 4)
|
||||||
{
|
{
|
||||||
echo "<p>not_unique in ".array2string($col)." as for '$key_col': '${data[$key_col]}' != '${other[$key_col]}'</p>\n";
|
echo "<p>not_unique in ".array2string($col)." as for '$key_col': '${data[$key_col]}' != '${other[$key_col]}'</p>\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user