* change moduleIds into moduleIdList.

This commit is contained in:
chenfeiCF
2016-04-29 15:45:01 +08:00
parent fa2cadf195
commit cc2a7e60c0
5 changed files with 21 additions and 21 deletions
+3 -3
View File
@@ -313,12 +313,12 @@ class searchModel extends model
* Get records by the conditon.
*
* @param string $module
* @param string $moduleIds
* @param string $moduleIdList
* @param string $conditions
* @access public
* @return array
*/
public function getBySelect($module, $moduleIds, $conditions)
public function getBySelect($module, $moduleIdList, $conditions)
{
if($module == 'story')
{
@@ -348,7 +348,7 @@ class searchModel extends model
$query .= $operator . ' ' . $this->dbh->quote($value) . ' ';
}
foreach($moduleIds as $id)
foreach($moduleIdList as $id)
{
if(!$id) continue;
$title = $this->dao->select($pairs)