Skip to content

API Response always interprets as success #5

Description

@JReissmueller

In tcadminapi.php on line 68 we check if $host_name_output is false to see if there is an error. The problem is that it never will be since we already populate it with the string "". We should either check if it is still equal to the string or we should check the curl error.

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