mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
fix wrong logical check (#7282)
Forgot to remove the '!' (not) operator from the cache check when re-organizing the update cache function
This commit is contained in:
@@ -55,7 +55,7 @@ class auto_loader {
|
||||
|
||||
public function update_cache(string $file = ''): bool {
|
||||
//guard against writing an empty file
|
||||
if (!empty($this->classes)) {
|
||||
if (empty($this->classes)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user