fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [16833] frontend: fix call til method


From: sigurdne
Subject: [Fmsystem-commits] [16833] frontend: fix call til method
Date: Tue, 6 Jun 2017 03:54:16 -0400 (EDT)

Revision: 16833
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16833
Author:   sigurdne
Date:     2017-06-06 03:54:15 -0400 (Tue, 06 Jun 2017)
Log Message:
-----------
frontend: fix call til method

Modified Paths:
--------------
    trunk/frontend/inc/class.uicontract_documents.inc.php

Modified: trunk/frontend/inc/class.uicontract_documents.inc.php
===================================================================
--- trunk/frontend/inc/class.uicontract_documents.inc.php       2017-06-05 
15:25:23 UTC (rev 16832)
+++ trunk/frontend/inc/class.uicontract_documents.inc.php       2017-06-06 
07:54:15 UTC (rev 16833)
@@ -123,7 +123,7 @@
 
                        $config = CreateObject('phpgwapi.config', 'frontend');
                        $config->read();
-                       //$doc_types = 
isset($config->config_data['document_frontend_cat']) && 
$config->config_data['document_frontend_cat'] ? 
$config->config_data['document_frontend_cat'] : array(); 
+                       //$doc_types = 
isset($config->config_data['document_frontend_cat']) && 
$config->config_data['document_frontend_cat'] ? 
$config->config_data['document_frontend_cat'] : array();
                        $doc_types = array('type' => 1);
 
                        $allrows = true;
@@ -137,11 +137,10 @@
                                {
                                        if ($doc_type)
                                        {
-                                               $document_list = 
array_merge($document_list, $sodocument->get($start_index, $num_of_objects, 
'id', true, $search_for, $search_type, $filters));
+                                               $document_list = 
array_merge($document_list, $sodocument->get(0, 0, 'id', true, '', '', 
$filters));
                                        }
 
-                                       $total_records = $total_records + 
$sodocument->get_count($search_for, $search_type, $filters);
-                                       ;
+                                       $total_records = $total_records + 
$sodocument->get_count('', '', $filters);
                                }
                        }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]