if (!$query->rowCount()) {
throw new Exception('Fout bij opslaan');
}
+ if (@list ($cat, $issue) = explode('/', $Page) and ctype_digit($issue)) {
+ $Db->query(
+ 'UPDATE issues SET updated = now() WHERE page = ? AND id = ?',
+ [$cat, $issue]
+ );
+ }
$_POST['reply'] = NULL;
}
catch (Exception $e) {