Skip to content

PHP Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /var/www/omp/plugins/importexport/datacite/DataciteExportPlugin.inc.php #10

@MarkTr

Description

@MarkTr

Commit b29b8df on stable_3_3_0 introduces an error while loading the plugin, because of a missing }
but actually it seems to unnecessarily duplicate an if-statement.
attached patch fixes this (If I find out how to add one here).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions