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

Ignore:
Timestamp:
Feb 6, 2009, 12:39:24 PM (12 years ago)
Author:
ebihara
Message:

#3558:fixed the PhotoList? parts doesn't display all items of a list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/lib/helper/opPartsHelper.php

    r10555 r10671  
    4242
    4343  include_partial('global/partsLayout', $params);
     44
     45  $shorts = $params['options']->getShortRequiredOptions();
     46  if ($shorts)
     47  {
     48    throw new LogicException(sprintf('The %s parts requires the following options: \'%s\'.', $name, implode('\', \'', $shorts)));
     49  }
    4450}
    4551
Note: See TracChangeset for help on using the changeset viewer.