Browse Source
Fix getNumberOfParticipants()
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/171/head
Joas Schilling
9 years ago
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
1 additions and
1 deletions
-
lib/Room.php
|
|
|
@ -254,7 +254,7 @@ class Room { |
|
|
|
} |
|
|
|
|
|
|
|
$result = $query->execute(); |
|
|
|
$row = $result->fetchAll(); |
|
|
|
$row = $result->fetch(); |
|
|
|
$result->closeCursor(); |
|
|
|
|
|
|
|
return isset($row['num_participants']) ? (int) $row['num_participants'] : 0; |
|
|
|
|