Spaces removed

This commit is contained in:
Michael Vogel 2021-02-21 08:52:42 +01:00
parent 10f7280bbc
commit 5b9239b341
1 changed files with 2 additions and 2 deletions

View File

@ -454,7 +454,7 @@ class Post
$affected_count += DBA::affectedRows(); $affected_count += DBA::affectedRows();
} }
DBA::close($posts); DBA::close($posts);
$affected = $affected_count; $affected = $affected_count;
} }
$update_fields = DBStructure::getFieldsForTable('post-content', $fields); $update_fields = DBStructure::getFieldsForTable('post-content', $fields);
@ -544,7 +544,7 @@ class Post
Logger::notice('Updating post-thread-user failed', ['fields' => $update_fields, 'condition' => $condition]); Logger::notice('Updating post-thread-user failed', ['fields' => $update_fields, 'condition' => $condition]);
return false; return false;
} }
$affected_count += DBA::affectedRows(); $affected_count += DBA::affectedRows();
} }
$affected = max($affected, $affected_count); $affected = max($affected, $affected_count);
} }