mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-05 07:54:24 +03:00
Merge pull request #49 from kpoxas/patch-2
Fix filter method for parent page in sql query
This commit is contained in:
commit
9ba18b8e73
|
@ -122,7 +122,7 @@ class PluginPage_ModulePage_MapperPage extends Mapper {
|
|||
if ($aRows=$this->oDb->select($sql,
|
||||
isset($aFilter['active']) ? $aFilter['active']:DBSIMPLE_SKIP,
|
||||
isset($aFilter['main']) ? $aFilter['main']:DBSIMPLE_SKIP,
|
||||
(array_key_exists('pid',$aFilter) and !is_null($aFilter['pid'])) ? $sPid : DBSIMPLE_SKIP
|
||||
(array_key_exists('pid',$aFilter) and !is_null($aFilter['pid'])) ? $aFilter['pid'] : DBSIMPLE_SKIP
|
||||
)) {
|
||||
return $aRows;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue