Skip to content
Snippets Groups Projects
Commit b46d8367 authored by Demian Katz's avatar Demian Katz
Browse files

Eliminated is_null check (inefficient).

parent d0d90f19
No related merge requests found
...@@ -93,7 +93,7 @@ class Tags extends RowGateway implements \VuFind\Db\Table\DbTableAwareInterface ...@@ -93,7 +93,7 @@ class Tags extends RowGateway implements \VuFind\Db\Table\DbTableAwareInterface
if ($offset > 0) { if ($offset > 0) {
$select->offset($offset); $select->offset($offset);
} }
if (!is_null($limit)) { if (null !== $limit) {
$select->limit($limit); $select->limit($limit);
} }
}; };
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment