diff --git a/CHANGELOG.md b/CHANGELOG.md index df88411e..a87cff46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ # CHANGELOG +## 2024.2.29 + +- Fix Hook Functionality +- Change Customer Menu + ## 2024.2.28 - Fix Buy Plan with Balance diff --git a/system/autoload/Hookers.php b/system/autoload/Hookers.php index 16d665c4..f15d0a96 100644 --- a/system/autoload/Hookers.php +++ b/system/autoload/Hookers.php @@ -38,6 +38,7 @@ function register_menu($name, $admin, $function, $position, $icon = '', $label = $hook_registered = array(); function register_hook($action, $function){ + global $hook_registered; $hook_registered[] = [ 'action' => $action, 'function' => $function diff --git a/version.json b/version.json index 60dd994c..222ba5ac 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "2024.2.28" + "version": "2024.2.29" } \ No newline at end of file