zikula-modules / Mediashare

Mediashare is a media file gallery designed for use with Zikula.
6 stars 1 forks source link

getHandlerInfo - active column not checked #1

Open hvorragend opened 13 years ago

hvorragend commented 13 years ago

In the mediashare_mediahandlerapi_getHandlerInfo function in the select, there should also be a check if a mediahandler is active or not. There is an active column but, it seams that is not used.

Table:z_mediashare_mediahandlers column:ms_active

If the active column is used, it would be possible to register an existing mediahndler without overwriting the original one. An own mediahandler could be inserted, and the original one will be set to inactive.

Now the original Mediahandler has to be overwritten.