Permalink
Browse files

checklist空の時結果を空にするクエリをセットする

  • Loading branch information...
1 parent 4314198 commit db6a462b756f4d42e0f4768510e5c170556329c0 @crifff committed Jun 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 protected/models/Program.php
@@ -129,7 +129,7 @@ public function defualtScope()
public function checkedByList($checklist)
{
if(count($checklist)===0)
- return array();
+ $checklist=array(array('TID'=>false));//結果が空になるクエリ
$criteria=$this->getDbCriteria();
foreach($checklist as $conditions){

0 comments on commit db6a462

Please sign in to comment.