Skip to content

[FIX] In-page preference change: Prevent some operations in tiki-admin.php from being interrupted by the redirection

Lupundu Yan requested to merge yan.lupundu/tiki:yan.tiki.InPagePref into master

The redirect added in tiki-admin.php during this commit seemed to break the execution of some operations. I found this was because the redirect was executed on every preference change, whether it was in-page preference change or not. However, for some operations on tiki-admin.php there are things to do after changing the preference and doing a redirect was breaking those kinds of operations.

I made changes to ensure that the redirect is only done when it's in-page preference change. This way no operation will be interrupted on tiki-admin.php.

Links :

Merge request reports