Skip to content

Accessing setting via FormIt hook always yields empty value #186

Description

@sonicpunk

Summary

Trying to access a setting field using $modx->getOption() always returns an empty string.

Step to reproduce

Inside of a hook snippet try to call up a ClientConfig setting

Observed behavior

It returns empty

Expected behavior

It should return the saved value

Environment

ClientConfig version 2.3.0-pl, FormIt version 4.2.5-pl, MODX version 2.7.2-advanced, Operating System Apache, MySQL 5.6 version, PHP version 7.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions