This commit is contained in:
tianshujie
2022-09-06 13:11:29 +08:00
parent 45269fb54b
commit 562c4569cb
+1 -1
View File
@@ -331,7 +331,7 @@ class report extends control
$depts = $this->dept->getOptionMenu();
if(!$this->app->user->admin)
{
$depts = ($dept and isset($depts[$dept])) ? array($dept => $depts[$dept]) : $this->lang->dept->noDepartment;
$depts = ($dept and isset($depts[$dept])) ? array($dept => $depts[$dept]) : $noDepartment;
}
else
{