]> source.dussan.org Git - nextcloud-server.git/commit
Make sure limit is never negative 17712/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Mon, 28 Oct 2019 12:07:43 +0000 (13:07 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 28 Oct 2019 12:07:43 +0000 (13:07 +0100)
commitdd185e383d74c3c6e6c186b3f41257a47656260f
tree4efcada7674fd1c37b36ccd3f7e22989aeb37f5c
parent921f748996754e59e5b59cc08cc424ff66854730
Make sure limit is never negative

There were some cases where a negative limit could be passed in. Which
would happily make the query explode.

This is just a quick hack to make sure it never is negative.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/User/Database.php