zikula-modules/MediaAttach — Issue #2: Typo in several checkPermission() calls
Author: rmaiwald
Created: 2011-11-05 15:10:25+00:00
State: open

Parameters in several calls to checkPermission() contain a blank at the end. This might cause wrong permission evaluation. Affected functions and files are:

MediaAttach_ajax_performupload (pnajax.php)
MediaAttach_admin_view (pnadmin/view.php)
MediaAttach_external_finditem (pnexternal/finditem.php)
MediaAttach_user_createuploadflash (pnuser/createuploadflash.php)
MediaAttach_user_createupload (pnuser/createupload.php)
MediaAttach_user_createextvid (pnuser/createextvid.php)
MediaAttach_user_showfileliste (pnuser/showfileliste.php)
MediaAttach_user_viewupload (pnuser/viewupload.php)
mediaattachItemSelector::render (pntemplates\pnform\function.mediaattachitemselector.php)