pass 0 as default to getObjects()

This commit is contained in:
Uwe Steinmann 2018-01-09 15:29:31 +01:00
parent 6e75dd9c44
commit 62f5dd1a9f

View File

@ -874,7 +874,7 @@ class SeedDMS_Core_AttributeDefinition { /* {{{ */
* @param integer $limit limit number of documents/folders
* @return array array containing list of documents and folders
*/
public function getObjects($attrvalue, $limit) { /* {{{ */
public function getObjects($attrvalue, $limit=0) { /* {{{ */
$db = $this->_dms->getDB();
$result = array('docs'=>array(), 'folders'=>array(), 'contents'=>array());