Browse Source

Fix CS.

pull/27/head
Ned Zimmerman 7 years ago
parent
commit
0043094647
No known key found for this signature in database
GPG Key ID: FF56334A013120CA
  1. 4
      app/controllers/App.php

4
app/controllers/App.php

@ -141,7 +141,9 @@ class App extends Controller
$book['date-published'] = (isset($book['metadata']['datePublished'])) ?
$book['metadata']['datePublished'] :
'';
$book['subject'] = (isset($book['metadata']['about'][0])) ? $book['metadata']['about'][0]['identifier'] : '';
$book['subject'] = (isset($book['metadata']['about'][0]))
? $book['metadata']['about'][0]['identifier']
: '';
$books[] = $book;
}
if ($orderby === 'latest') {

Loading…
Cancel
Save