mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
fix previous..
This commit is contained in:
parent
0546e813a5
commit
9ee732ae19
@ -125,7 +125,7 @@ class Util
|
||||
*/
|
||||
public static function aliasDescription($name)
|
||||
{
|
||||
if (self::$aliasDescriptions == null) {
|
||||
if (empty(self::$aliasDescriptions)) {
|
||||
// read all aliases at ones, and cache descriptions.
|
||||
foreach ((new Alias())->aliasIterator() as $alias) {
|
||||
if (empty(self::$aliasDescriptions[$alias['name']])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user