#2850 - Inconsistency in templates_internalise_screen.php

  • By
  • Added
  • 0 views
Identifier #2850
Issue type Minor issue (breaks specific functionality)
Title Inconsistency in templates_internalise_screen.php
Status Closed (no changes needed)
Handling member Chris Graham
Addon core
Description There is an inconsistency with the templates_internalise_screen.php file, namely this line:

'REFRESH_IF_CHANGED' => md5(serialize($refresh_if_changed)),

What happens is you're MD5ing and serializing something that was already mD5ed and serialized via. the change_detection hooks. As a result, change_detection.php inaccurately determines whether or not something changed. Usually it'll say something has changed regardless. To fix, use this line instead:

'REFRESH_IF_CHANGED' => $refresh_if_changed,
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated