Skip to content
Permalink
Browse files

fix cache status flags on logtype change to 'available'; updates #1073

  • Loading branch information...
following5 authored and teiling88 committed Aug 5, 2017
1 parent dc39804 commit 3d36448c73c2725cb2cb71a5e6b3de7b7edf1188
Showing with 3 additions and 1 deletion.
  1. +3 −1 htdocs/editlog.php
@@ -305,14 +305,16 @@
}
// store changed data
$cache_ok_sql = ", `needs_maintenance`=1, `listing_outdated`=1";
sql(
"UPDATE `cache_logs`
SET `type`='&1',
`oc_team_comment`='&2',
`date`='&3',
`text`='&4',
`text_html`='&5',
`text_htmledit`='&6'
`text_htmledit`='&6'" .
($log_type == cachelog::LOGTYPE_ACTIVE ? $cache_ok_sql : "") . "
WHERE `id`='&7'",
$log_type,
$oc_team_comment,

0 comments on commit 3d36448

Please sign in to comment.
You can’t perform that action at this time.