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