Home
last modified time | relevance | path

Searched hist:c7a4b560d2469d5a8af7867dcb3ce847e924bb61 (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/inc/
H A Dtoolbar.phpc7a4b560d2469d5a8af7867dcb3ce847e924bb61 Tue Nov 29 16:05:03 UTC 2022 Guillaume Turri <guillaume.turri@gmail.com> Fix warning from toolbar.php when $INFO is null

This commit fixes an issue observed in this context:
1. Run Dokuwiki with PHP 8.1
2. Install the "sync" plugin
3. Run the "sync" plugin, and when prompted whether you want to keep the
remote of the local file, click to show the diff

That's it: on the window which opens to display the diff, there is a warning
saying that $INFO is null.

(Perhaps an even better fix would be to ensure that $INFO is set in this case
but at least this commit fixes this issue and shouldn't have any detrimental
side effects)