Completed
Pull Request — master (#274)
by Markus
06:26
created
lib/CustomColumnTypeInteger.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,9 @@
 block discarded – undo
62 62
     public function getDescription()
63 63
     {
64 64
         $desc = $this->getDatabaseDescription();
65
-        if ($desc === NULL || empty($desc)) $desc = str_format(localize("customcolumn.description"), $this->getTitle());
65
+        if ($desc === NULL || empty($desc)) {
66
+            $desc = str_format(localize("customcolumn.description"), $this->getTitle());
67
+        }
66 68
         return $desc;
67 69
     }
68 70
 
Please login to merge, or discard this patch.
lib/PageAllBooks.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,7 @@
 block discarded – undo
13 13
         $this->title = localize("authors.title");
14 14
         if (getCurrentOption ("author_split_first_letter") == 1) {
15 15
             $this->entryArray = Author::getAllAuthorsByFirstLetter();
16
-        }
17
-        else {
16
+        } else {
18 17
             $this->entryArray = Author::getAllAuthors();
19 18
         }
20 19
         $this->idPage = Author::ALL_AUTHORS_ID;
Please login to merge, or discard this patch.
lib/CustomColumnTypeFloat.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,9 @@
 block discarded – undo
62 62
     public function getDescription()
63 63
     {
64 64
         $desc = $this->getDatabaseDescription();
65
-        if ($desc === NULL || empty($desc)) $desc = str_format(localize("customcolumn.description"), $this->getTitle());
65
+        if ($desc === NULL || empty($desc)) {
66
+            $desc = str_format(localize("customcolumn.description"), $this->getTitle());
67
+        }
66 68
         return $desc;
67 69
     }
68 70
 
Please login to merge, or discard this patch.
lib/CustomColumnTypeComment.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,9 @@
 block discarded – undo
62 62
     public function getDescription()
63 63
     {
64 64
         $desc = $this->getDatabaseDescription();
65
-        if ($desc === NULL || empty($desc)) $desc = str_format(localize("customcolumn.description"), $this->getTitle());
65
+        if ($desc === NULL || empty($desc)) {
66
+            $desc = str_format(localize("customcolumn.description"), $this->getTitle());
67
+        }
66 68
         return $desc;
67 69
     }
68 70
 
Please login to merge, or discard this patch.