Skip to content
This repository has been archived by the owner on Dec 14, 2024. It is now read-only.

Commit

Permalink
fix param order of property_exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Glutamat42 committed Nov 8, 2023
1 parent 32a9e91 commit 9131a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opt/adler/moodle/adler_setup/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function get_plugin_config() {
if ($info === false) {
cli_writeln("No update available for {$plugin['name']} {$plugin['version']}");
continue;
} else if ($info !== null && property_exists('tag_name', $info)) {
} else if ($info !== null && property_exists($info, 'tag_name')) {
// checking for one of the keys is sufficient
$url = $info->zip_url;
} else {
Expand Down

0 comments on commit 9131a8d

Please sign in to comment.