* Finish task#36037.

This commit is contained in:
leiyong
2021-02-22 16:28:02 +08:00
parent 4e1a36384c
commit 0882f35bc6
17 changed files with 83 additions and 45 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class programModel extends model
*/
public function getPGMByID($programID = 0)
{
return $this->dao->select('*')->from(TABLE_PROGRAM)->where('id')->eq((int)$programID)->andWhere('`type`')->eq('program')->fetch();
return $this->dao->select('*')->from(TABLE_PROGRAM)->where('id')->eq($programID)->andWhere('`type`')->eq('program')->fetch();
}
/**