Skip to content

Folder edit page: unknown id shows an empty form; warnings #410

Closed

Description

@caseysoftware
  • modules/files/addedit_folder.php L29 checks !$object after load(), but $object is still the object, so ?a=addedit_folder&folder=999 shows an empty "Edit File Folder" form instead of "invalid ID".
  • Undefined $msg at L44 (addCrumbDelete) and undefined $referrer at style/_common/files/addedit_folder.php L11 raise warnings on every load.

Fix: check load()'s result, and set $msg and $referrer.

Fix before Phase 1 of the Pluggable File Backend proposal (#404).

Activity

  1. added a commit that references this issue on Oct 21, 2026
    96864c2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions