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

Changeset 9699


Ignore:
Timestamp:
Dec 26, 2008, 4:10:22 PM (11 years ago)
Author:
ShogoKawahara
Message:

#3119:fixed opOpenSocialServletActions::servletExecute() doesn't check the type of parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/plugins/opOpenSocialPlugin/trunk/lib/action/opOpenSocialServletActions.class.php

    r9576 r9699  
    1414   * servletExecute
    1515   *
    16    * @param HttpServlet $servlet A servlet object
     16   * @param $servlet A servlet object
    1717   */
    1818  protected function servletExecute($servlet)
    1919  {
     20    if (!($servlet instanceof HttpServlet) && !($servlet instanceof ApiServlet))
     21    {
     22      throw new LogicException();
     23    }
     24
    2025    $request = $this->getRequest();
    2126    $method = "";
Note: See TracChangeset for help on using the changeset viewer.