]> source.dussan.org Git - nextcloud-server.git/commitdiff
add missing brackets
authorBjörn Schießle <schiessle@owncloud.com>
Thu, 31 Jan 2013 11:12:39 +0000 (12:12 +0100)
committerBjörn Schießle <schiessle@owncloud.com>
Thu, 31 Jan 2013 11:12:39 +0000 (12:12 +0100)
lib/user/database.php

index a9ec7b1bfe806bcaaab2119e1861fd34e7d62ec4..8dfd9534a96cc48f6abfa2d76869cb586f5eb04f 100644 (file)
@@ -167,8 +167,9 @@ class OC_User_Database extends OC_User_Backend {
                $result = $query->execute(array($search.'%'));
                while ($row = $result->fetchRow()) {\r
                        $displayName =  trim($row['displayname'], ' ');
-                       if ( empty($displayName) )\r
-                       $displayNames[$row['uid']] = $row['uid'];\r
+                       if ( empty($displayName) ) {\r
+                               $displayNames[$row['uid']] = $row['uid'];
+                       }\r
                }
                
                \r