* change the 'private' to 'public'.

This commit is contained in:
shiyangyangwork@yahoo.cn
2012-02-09 07:53:36 +00:00
parent b30c103ecc
commit f2ef4a56f6
15 changed files with 96 additions and 96 deletions
+2 -2
View File
@@ -29,10 +29,10 @@ class deptModel extends model
* Build the query.
*
* @param int $rootDeptID
* @access private
* @access public
* @return string
*/
private function buildMenuQuery($rootDeptID)
public function buildMenuQuery($rootDeptID)
{
$rootDept = $this->getByID($rootDeptID);
if(!$rootDept) $rootDept->path = '';