Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmi3yy committed Mar 21, 2017
1 parent 05d8151 commit 0a69810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager/includes/document.parser.class.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -1974,8 +1974,8 @@ function getDocumentObject($method, $identifier, $isPrepareResponse=false) {

if($isPrepareResponse==='prepareResponse') $this->documentObject = & $documentObject;
$out = $this->invokeEvent('OnLoadDocumentObject', compact('method', 'identifier', 'documentObject'));
if(is_array($out)){
$documentObject = $out;
if(is_array($out) && is_array($out[0])){
$documentObject = $out[0];
}
if ($documentObject['template']) {
// load TVs and merge with document - Orig by Apodigm - Docvars
Expand Down

0 comments on commit 0a69810

Please sign in to comment.