You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function setCurrentSource sets the wrong mediasource ID to the session. For example, the uploads mediasource is 3 (uploads) and the files mediasource is 2 (files) you will get errors.
When you save a file, file based snippet or chunk the setCurrentSource will set the $_SESSION['mediamanager']['source'] to 2 (because the $_REQUEST['source'] is set). After this you will get an error in the mediasource because it will load mediasource 2 (files) instead of mediasource 3 (uploads).
The text was updated successfully, but these errors were encountered:
Oetzie
changed the title
Wrong media manager set in the sessions.
Wrong media manager set in the sessions
Jun 9, 2021
The function
setCurrentSource
sets the wrong mediasource ID to the session. For example, the uploads mediasource is 3 (uploads) and the files mediasource is 2 (files) you will get errors.When you save a file, file based snippet or chunk the
setCurrentSource
will set the$_SESSION['mediamanager']['source']
to 2 (because the$_REQUEST['source']
is set). After this you will get an error in the mediasource because it will load mediasource 2 (files) instead of mediasource 3 (uploads).The text was updated successfully, but these errors were encountered: