ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 9073


Ignore:
Timestamp:
Nov 11, 2008, 6:25:45 PM (12 years ago)
Author:
ShogoKawahara
Message:

#3119:application/listアクションのバグを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/plugins/opOpenSocialPlugin/trunk/apps/pc_frontend/modules/application/actions/actions.class.php

    r9070 r9073  
    5959    $this->pager->init();
    6060
    61     if (!$this->pager->getNbResults())
    62     {
    63       return sfView::ERROR;
    64     }
    6561    if (!$request->isMethod('post'))
    6662    {
    67       return sfView::SUCCESS;
     63      return $this->pager->getNbResults() ? sfView::SUCCESS : sfView::ERROR;
    6864    }
    6965
     
    7268    if (!$this->form->isValid())
    7369    {
    74       return sfView::SUCCESS;
     70      return $this->pager->getNbResults() ? sfView::SUCCESS : sfView::ERROR;
    7571    }
    7672    $contact = $this->form->getValues();
Note: See TracChangeset for help on using the changeset viewer.