Skip to content
Snippets Groups Projects
Commit c6f6f893 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Checkstyles and warning reduction for VuDL.

parent a5063d24
Branches
Tags
No related merge requests found
...@@ -198,7 +198,8 @@ class Solr extends AbstractBase ...@@ -198,7 +198,8 @@ class Solr extends AbstractBase
) )
)) { )) {
$record = json_decode($response); $record = json_decode($response);
return $record->response->docs[0]->$modfield; $date = $record->response->docs[0]->$modfield;
return $date[0];
} }
return null; return null;
} }
......
<?php <?php
/** /**
* VuDL outline generator * VuDL outline generator
* *
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment