mirror of
https://github.com/netzbegruenung/circles.git
synced 2024-05-04 12:53:41 +02:00
fixing stuff
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
parent
bd517f19e1
commit
a3779358d8
|
@ -564,7 +564,7 @@ class CirclesService {
|
|||
if ($limit === -1) {
|
||||
return;
|
||||
}
|
||||
if ($limit === 0) {
|
||||
if ($limit === 0 || $limit === '' || $limit === null) {
|
||||
$limit = $this->configService->getAppValue(ConfigService::CIRCLES_MEMBERS_LIMIT);
|
||||
}
|
||||
|
||||
|
|
|
@ -702,6 +702,7 @@ class CirclesTest extends \PHPUnit_Framework_TestCase {
|
|||
$member->getCircleId()
|
||||
]
|
||||
);
|
||||
} catch (MemberDoesNotExistException $e) {
|
||||
} catch (Exception $e) {
|
||||
throw $e;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue