Browse Source

修复在网盘应用回收站无法恢复机构部门删除的文件问题 (#287)

pull/288/head
小胡 5 months ago
committed by GitHub
parent
commit
edcc711790
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      core/class/table/table_resources_path.php

2
core/class/table/table_resources_path.php

@ -237,7 +237,7 @@ class table_resources_path extends dzz_table
public function parse_path_get_rootdirinfo($path){
$dirpath = explode('/',$path);
$rootpath = $dirpath[0].'/';//根目录路径
$rootfid = DB::result_first("select fid from %t where path = %s order by fid DESC",array($this->_table,self::path_transferred_meaning($rootpath)));
$rootfid = DB::result_first("select fid from %t where path = %s order by fid DESC",array($this->_table,$rootpath));
if(!$rootfid){
return false;
}

Loading…
Cancel
Save