diff options
-rw-r--r-- | lib/private/preferences.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/preferences.php b/lib/private/preferences.php index c0000804aa5..62ef9086551 100644 --- a/lib/private/preferences.php +++ b/lib/private/preferences.php @@ -213,7 +213,9 @@ class Preferences { * @return array Mapped values: userid => value */ public function getValueForUsers($app, $key, $users) { - if (empty($users) || !is_array($users)) return array(); + if (empty($users) || !is_array($users)) { + return array(); + } $chunked_users = array_chunk($users, 50, true); $placeholders_50 = implode(',', array_fill(0, 50, '?')); |