Skip to content

Commit

Permalink
Gallery: Issue #2205
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed May 5, 2017
1 parent 963f35d commit ed5fc5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e107_plugins/gallery/e_shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ function sc_gallery_slideshow($parm = '')
* Amount per row differs according to device, so they are not set here, only the amount.
* @example {GALLERY_PORTFOLIO: placeholder=1&category=2}
*/
function sc_gallery_portfolio($parms = '')
function sc_gallery_portfolio($parm=null)
{
$ns = e107::getRender();
$tp = e107::getParser();
$parm = eHelper::scParams($parms);
// $parm = eHelper::scParams($parms);
$cat = (!empty($parm['category'])) ? $parm['category'] : vartrue(e107::getPlugPref('gallery', 'slideshow_category'), false); //TODO Separate pref?
$tmpl = e107::getTemplate('gallery', 'gallery');
Expand Down

0 comments on commit ed5fc5e

Please sign in to comment.