Skip to content

Not creating hash #2

@Zilvermeeuw

Description

@Zilvermeeuw

Running Joomla 3.10.10, php 8.0 no hash is created.
In "administrator/components/com_wkapi/controllers/keys.php", line 71 is: "$jform['id']=$jInput->get('id');". The value from jinput is empty, which prevents generating a hash in the lines after 71.
Adding a new line after line 71 which sets the value on 0 if the value was empty solves this. The new line is: "if ( empty( $jform['id'] ) ) { $jform['id'] = 0; }"

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