X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/d4e71e431bc6fdb0af04d5d75fb7e3e9d4e216c2..refs/pull/5685/head:/app/Util/SimpleListOptions.php diff --git a/app/Util/SimpleListOptions.php b/app/Util/SimpleListOptions.php index cb7e75a2d..81d8a5876 100644 --- a/app/Util/SimpleListOptions.php +++ b/app/Util/SimpleListOptions.php @@ -34,7 +34,7 @@ class SimpleListOptions $sort = setting()->getForCurrentUser($typeKey . '_sort', ''); $order = setting()->getForCurrentUser($typeKey . '_sort_order', $sortDescDefault ? 'desc' : 'asc'); - return new static($typeKey, $sort, $order, $search); + return new self($typeKey, $sort, $order, $search); } /**