* Adjust for dtable usePager.

This commit is contained in:
wangyidong
2023-07-07 19:52:33 +08:00
parent f7a47a72f4
commit 0618d38674
6 changed files with 36 additions and 71 deletions
+2 -2
View File
@@ -752,8 +752,8 @@ class program extends control
$program = $this->program->getByID($programID);
if(!$program) return print(js::error($this->lang->notFound) . js::locate('back'));
if(common::hasPriv('program', 'product')) return $this->locate(inlink('product', "programID=$programID"));
if(common::hasPriv('program', 'project')) return $this->locate(inlink('project', "programID=$programID"));
if(common::hasPriv('program', 'product')) $this->locate(inlink('product', "programID=$programID"));
if(common::hasPriv('program', 'project')) $this->locate(inlink('project', "programID=$programID"));
}
/**