<h4>Media Gallery Permission Fix</h4><ul><li><strong>Fixed:</strong> Undefined variable $hasPermissionToUpload — the permission check block in inc_gallery_manager.php was entirely commented out (lines 53-71) but list_gallery_albums.php line 68 still uses it in an if condition. Initialized $hasPermissionToUpload = true as default since the permission check is disabled.</li></ul>