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

Ignore:
Timestamp:
Apr 17, 2009, 5:07:45 AM (13 years ago)
Author:
ebihara
Message:

#3765:fixed the blacklist doesn't work correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/branches/goto_doctrine/apps/pc_backend/modules/member/actions/actions.class.php

    r11340 r11341  
    121121    $uid = $request->getParameter('uid');
    122122
    123     $this->pager = new sfPropelPager('Blacklist', 20);
     123    $this->pager = new sfDoctrinePager('Blacklist', 20);
    124124    $this->pager->setPage($request->getParameter('page', 1));
    125125    $this->pager->init();
     
    146146  public function executeBlacklistDelete(sfWebRequest $request)
    147147  {
    148     $this->blacklist = BlacklistPeer::retrieveByPK($request->getParameter('id'));
     148    $this->blacklist = Doctrine::getTable('Blacklist')->find($request->getParameter('id'));
    149149    $this->forward404Unless($this->blacklist);
    150150
Note: See TracChangeset for help on using the changeset viewer.