Browse Source

Fix getNumberOfParticipants()

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/171/head
Joas Schilling 9 years ago
parent
commit
45f4e2b30f
No known key found for this signature in database GPG Key ID: E166FD8976B3BAC8
  1. 2
      lib/Room.php

2
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;

Loading…
Cancel
Save