mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
remove echo
This commit is contained in:
parent
76a4ad7e9c
commit
1a35cdfb61
|
@ -692,7 +692,6 @@ class SeedDMS_Core_DMS {
|
||||||
*/
|
*/
|
||||||
if($searchKey || $searchOwner || $searchCreateDate || $searchAttributes) {
|
if($searchKey || $searchOwner || $searchCreateDate || $searchAttributes) {
|
||||||
// Count the number of rows that the search will produce.
|
// Count the number of rows that the search will produce.
|
||||||
echo $searchQuery;
|
|
||||||
$resArr = $this->db->getResultArray("SELECT COUNT(*) AS num FROM (SELECT DISTINCT `tblFolders`.id ".$searchQuery.") a");
|
$resArr = $this->db->getResultArray("SELECT COUNT(*) AS num FROM (SELECT DISTINCT `tblFolders`.id ".$searchQuery.") a");
|
||||||
if ($resArr && isset($resArr[0]) && is_numeric($resArr[0]["num"]) && $resArr[0]["num"]>0) {
|
if ($resArr && isset($resArr[0]) && is_numeric($resArr[0]["num"]) && $resArr[0]["num"]>0) {
|
||||||
$totalFolders = (integer)$resArr[0]["num"];
|
$totalFolders = (integer)$resArr[0]["num"];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user