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:
frytimo 2025-02-28 00:09:31 -04:00 committed by GitHub
parent 863de97270
commit f8e1e81546
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}