diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc index fc4ac5d..35b7c98 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc @@ -46,7 +46,7 @@ function renderDocumentData($oDocument, $bEditable, $sStatusMessage = "") { /*ok*/ $sQuery = array("SELECT D.name, D.modified, DTT.datetime AS created, U.name AS initiator, CONCAT(CONCAT(D.major_version, '.'), D.minor_version) AS version, WDSL.name AS status, DTL.name AS document_type, D.is_checked_out, COALESCE(U2.name, '') AS c_user " . "FROM $default->documents_table AS D INNER JOIN $default->web_documents_table AS WD ON WD.document_id = D.ID " . "INNER JOIN $default->web_documents_status_table AS WDSL ON WD.status_id = WDSL.id " . - "INNER JOIN $default->users_table AS U ON U.id = D.creator_id " . + "LEFT JOIN $default->users_table AS U ON U.id = D.creator_id " . "INNER JOIN $default->document_transactions_table AS DTT ON DTT.document_id = D.id " . "INNER JOIN $default->transaction_types_table AS TT ON DTT.transaction_id = TT.id " . "INNER JOIN $default->document_types_table AS DTL ON DTL.id = D.document_type_id " .