BUGFIX SSF-53 Pass through the parameter $itemsPerPage instead of reassign the default value (15)

This commit is contained in:
Normann Lou 2012-03-02 15:59:39 +13:00
parent c4e04899b6
commit de75798559

View File

@ -88,7 +88,7 @@ class GridFieldConfig_Base extends GridFieldConfig {
* @return GridFieldConfig_Base
*/
public static function create($itemsPerPage=15){
return new GridFieldConfig_Base($itemsPerPage=15);
return new GridFieldConfig_Base($itemsPerPage);
}
/**