mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
composer format
This commit is contained in:
parent
962e80c40c
commit
fbdc6ba029
@ -1951,8 +1951,8 @@ function db_update(string $table, string $where_col, string $where_value, array
|
||||
|
||||
$set = array();
|
||||
|
||||
foreach($timestamp as $k) {
|
||||
if(!isset($values[$k])) {
|
||||
foreach ($timestamp as $k) {
|
||||
if (!isset($values[$k])) {
|
||||
$values[$k] = 'x'; // timestamp field not in the values list, add it in so we set it to now() see #469
|
||||
}
|
||||
}
|
||||
@ -1969,7 +1969,6 @@ function db_update(string $table, string $where_col, string $where_value, array
|
||||
|
||||
$set[] = " $key = :$key ";
|
||||
$pvalues[$key] = $value;
|
||||
|
||||
}
|
||||
|
||||
$pvalues['where'] = $where_value;
|
||||
|
Loading…
Reference in New Issue
Block a user