File tree 1 file changed +7
-8
lines changed
1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -207,15 +207,14 @@ public function getGalleries($language_id = Fotolia_Api::LANGUAGE_ID_EN_US)
207
207
* @param int $language_id
208
208
* @return array
209
209
*/
210
- public function getSeasonalGalleries ($ language_id = Fotolia_Api::LANGUAGE_ID_EN_US , $ thumbnail_size = 110 , $ theme_id = 0 )
210
+ public function getSeasonalGalleries ($ language_id = Fotolia_Api::LANGUAGE_ID_EN_US , $ thumbnail_size = 110 , $ theme_id = null )
211
211
{
212
- $ args = array (
213
- 'language_id ' => $ language_id
214
- ,'thumbnail_size ' => $ thumbnail_size
215
- );
216
- if ((int )$ theme_id > 0 ) $ args ['theme_id ' ] = $ theme_id ;
217
-
218
- return $ this ->_api ('getSeasonalGalleries ' , $ args );
212
+ return $ this ->_api ('getSeasonalGalleries ' ,
213
+ array (
214
+ 'language_id ' => $ language_id ,
215
+ 'thumbnail_size ' => $ thumbnail_size ,
216
+ 'theme_id ' => $ theme_id
217
+ ));
219
218
}
220
219
221
220
/**
You can’t perform that action at this time.
0 commit comments