Completed
Push — master ( 7c8e79...b8091b )
by Markus
04:56
created
lib/Book.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -473,15 +473,15 @@  discard block
 block discarded – undo
473 473
         $nBooks = Base::executeQuerySingle('select count(*) from books');
474 474
         $result = array();
475 475
         $entry = new Entry(localize('allbooks.title'),
476
-                          self::ALL_BOOKS_ID,
477
-                          str_format(localize('allbooks.alphabetical', $nBooks), $nBooks), 'text',
478
-                          array(new LinkNavigation('?page='.Base::PAGE_ALL_BOOKS)), '', $nBooks);
476
+                            self::ALL_BOOKS_ID,
477
+                            str_format(localize('allbooks.alphabetical', $nBooks), $nBooks), 'text',
478
+                            array(new LinkNavigation('?page='.Base::PAGE_ALL_BOOKS)), '', $nBooks);
479 479
         array_push($result, $entry);
480 480
         if ($config['cops_recentbooks_limit'] > 0) {
481 481
             $entry = new Entry(localize('recent.title'),
482
-                              self::ALL_RECENT_BOOKS_ID,
483
-                              str_format(localize('recent.list'), $config['cops_recentbooks_limit']), 'text',
484
-                              array ( new LinkNavigation ('?page='.Base::PAGE_ALL_RECENT_BOOKS)), '', $config['cops_recentbooks_limit']);
482
+                                self::ALL_RECENT_BOOKS_ID,
483
+                                str_format(localize('recent.list'), $config['cops_recentbooks_limit']), 'text',
484
+                                array ( new LinkNavigation ('?page='.Base::PAGE_ALL_RECENT_BOOKS)), '', $config['cops_recentbooks_limit']);
485 485
             array_push($result, $entry);
486 486
         }
487 487
         return $result;
@@ -556,10 +556,10 @@  discard block
 block discarded – undo
556 556
         $i = 0;
557 557
         $critArray = array();
558 558
         foreach (array(PageQueryResult::SCOPE_AUTHOR,
559
-                       PageQueryResult::SCOPE_TAG,
560
-                       PageQueryResult::SCOPE_SERIES,
561
-                       PageQueryResult::SCOPE_PUBLISHER,
562
-                       PageQueryResult::SCOPE_BOOK) as $key) {
559
+                        PageQueryResult::SCOPE_TAG,
560
+                        PageQueryResult::SCOPE_SERIES,
561
+                        PageQueryResult::SCOPE_PUBLISHER,
562
+                        PageQueryResult::SCOPE_BOOK) as $key) {
563 563
             if (in_array($key, getCurrentOption('ignored_categories')) ||
564 564
                 (!array_key_exists($key, $query) && !array_key_exists('all', $query))) {
565 565
                 $critArray[$i] = self::BAD_SEARCH;
Please login to merge, or discard this patch.