From 2f8e2962361afcb7083a97806451dd9a8777e34d Mon Sep 17 00:00:00 2001 From: steinm Date: Wed, 30 Jan 2013 09:59:43 +0000 Subject: [PATCH] - updated version to 4.0.0 --- LetoDMS_Core/Core/inc.ClassDMS.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LetoDMS_Core/Core/inc.ClassDMS.php b/LetoDMS_Core/Core/inc.ClassDMS.php index 7890b64ac..f04b98490 100644 --- a/LetoDMS_Core/Core/inc.ClassDMS.php +++ b/LetoDMS_Core/Core/inc.ClassDMS.php @@ -226,7 +226,7 @@ class LetoDMS_Core_DMS { $this->convertFileTypes = array(); $this->version = '@package_version@'; if($this->version[0] == '@') - $this->version = '3.4.0'; + $this->version = '4.0.0'; } /* }}} */ function getDB() { /* {{{ */ @@ -854,7 +854,7 @@ class LetoDMS_Core_DMS { } // Count the number of rows that the search will produce. - $resArr = $this->db->getResultArray("SELECT COUNT(*) as num FROM (SELECT DISTINCT `tblDocuments`.id ".$searchQuery.") a"); + $resArr = $this->db->getResultArray("SELECT COUNT(*) AS num FROM (SELECT DISTINCT `tblDocuments`.id ".$searchQuery.") a"); $totalDocs = 0; if (is_numeric($resArr[0]["num"]) && $resArr[0]["num"]>0) { $totalDocs = (integer)$resArr[0]["num"];