0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

composer format

This commit is contained in:
David Goodwin 2021-04-05 21:20:40 +01:00
parent 962e80c40c
commit fbdc6ba029

View File

@ -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;