fix errors in coding style

This commit is contained in:
Uwe Steinmann 2021-09-20 16:31:42 +02:00
parent 851e81a9b9
commit a5e12cb444

View File

@ -5,9 +5,8 @@
* @category DMS
* @package SeedDMS_Core
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann
* @copyright 2010 Uwe Steinmann
* @version Release: @package_version@
*/
@ -3108,7 +3107,7 @@ class SeedDMS_Core_DMS {
function getDuplicateDocumentContent() { /* {{{ */
$queryStr = "SELECT a.*, b.`id` as dupid FROM `tblDocumentContent` a LEFT JOIN `tblDocumentContent` b ON a.`checksum`=b.`checksum` where a.`id`!=b.`id` ORDER by a.`id` LIMIT 1000";
$resArr = $this->db->getResultArray($queryStr);
if (!$resArr)
if ($resArr === false)
return false;
/** @var SeedDMS_Core_Document[] $versions */