mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-24 00:42:43 +00:00
Simplify get_name
This commit is contained in:
parent
5ccda17ad9
commit
25b147de9a
@ -231,10 +231,9 @@ class Page {
|
||||
$result = $name;
|
||||
}
|
||||
$stmt->closeCursor();
|
||||
if ($result !== null) return $result;
|
||||
|
||||
$this->uuid_name_cache[$uuid] = null;
|
||||
return null;
|
||||
$this->uuid_name_cache[$uuid] = $result;
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user