/web/acc/manager/lib/sql/change_attrs.php |
---|
55,7 → 55,7 |
$sql_attr = da_sql_escape_string($link, $sql_attr); |
$val = da_sql_escape_string($link, $val); |
// if we have operators, the operator has changed and the corresponding value exists then update |
if ($use_ops && isset($item_vals["$key"]['operator'][$j]) && |
if ($key != "Filter-Id" && $use_ops && isset($item_vals["$key"]['operator'][$j]) && |
$op_val != $item_vals["$key"]['operator'][$j] ){ |
$res = da_sql_query($link,$config, |
"UPDATE $table SET op = '$op_val' WHERE $query_key = '$login' |
/web/acc/manager/lib/sql/drivers/mysql/functions.php |
---|
118,10 → 118,6 |
return da_sql_query($link, $config, "SHOW COLUMNS FROM $table"); |
} |
function da_sql_num_fields($fields,$config) |
{ |
return mysqli_num_fields($fields); |
} |
function da_sql_field_name($fields,$num,$config) |
{ |